pg_tty

(PHP3 , PHP4 )

pg_tty --  Return the tty name associated with the connection

Description

string pg_tty (int connection_id)

Pg_tty() will return the tty name that server side debugging output is sent to on the given PostgreSQL connection identifier.