php man page for pg_tty

Query: pg_tty

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PG_TTY(3)																 PG_TTY(3)

pg_tty - Return the TTY name associated with the connection

SYNOPSIS
string pg_tty ([resource $connection])
DESCRIPTION
pg_tty(3) returns the TTY name that server side debugging output is sent to on the given PostgreSQL $connection resource. Note pg_tty(3) is obsolete, since the server no longer pays attention to the TTY setting, but the function remains for backwards compati- bility.
PARAMETERS
o $connection - PostgreSQL database connection resource. When $connection is not present, the default connection is used. The default connection is the last connection made by pg_connect(3) or pg_pconnect(3).
RETURN VALUES
A string containing the debug TTY of the $connection, or FALSE on error.
EXAMPLES
Example #1 pg_tty(3) example <?php $pgsql_conn = pg_connect("dbname=mark host=localhost"); if ($pgsql_conn) { print "Server debug TTY is: " . pg_tty($pgsql_conn) . "<br/> "; } else { print pg_last_error($pgsql_conn); exit; } ?> PHP Documentation Group PG_TTY(3)
Related Man Pages
pg_client_encoding(3) - php
pg_lo_export(3) - php
pg_lo_unlink(3) - php
pg_tty(3) - php
pg_version(3) - php
Similar Topics in the Unix Linux Community
Telnet connection to Sco Unixware from Windows 2000 taking longer !!!
Make sure connection
connection from where?
How to find Hung connection in UNix Systems ?
UNIX string connection to sql server db