(PHP 3, PHP 4 )
string pg_tty (int connection_id)
string pg_tty
Pg_tty() will return the tty name that server side debugging output is sent to on the given PostgreSQL connection identifier.