pg_tty Return the TTY name associated with the connection &reftitle.description; stringpg_tty PgSql\Connectionnullconnection&null; pg_tty returns the TTY name that server side debugging output is sent to on the given PostgreSQL connection instance. pg_tty is obsolete, since the server no longer pays attention to the TTY setting, but the function remains for backwards compatibility. &reftitle.parameters; connection &pgsql.parameter.connection-with-nullable-default; &reftitle.returnvalues; A string containing the debug TTY of the connection. &reftitle.changelog; &Version; &Description; &pgsql.changelog.connection-object; 8.0.0 connection is now nullable. &reftitle.examples; <function>pg_tty</function> example \n"; } else { print pg_last_error($pgsql_conn); exit; } ?> ]]>