From cb7fb3ca958ec8bd5a14e740c067f1d096af3454 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 17 Apr 2003 22:26:02 +0000 Subject: First phase of FE/BE protocol modifications: new StartupPacket layout with variable-width fields. No more truncation of long user names. Also, libpq can now send its environment-variable-driven SET commands as part of the startup packet, saving round trips to server. --- doc/src/sgml/libpq.sgml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 4d9c249c839..a1f8d6b5f6b 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ @@ -193,7 +193,7 @@ PGconn *PQconnectdb(const char *conninfo); tty - A file or TTY for optional debug output from the server. + Ignored (formerly, this specified where to send server debug output). @@ -669,6 +669,9 @@ char *PQport(const PGconn *conn); Returns the debug TTY of the connection. + (This is obsolete, since the server no longer pays attention + to the TTY setting, but the function remains + for backwards compatibility.) char *PQtty(const PGconn *conn); @@ -2365,12 +2368,6 @@ the PostgreSQL server. -PGTTY sets the file or TTY on which debugging -messages from the server are displayed. - - - - PGREQUIRESSL sets whether or not the connection must be made over SSL. If set to 1, libpq @@ -2678,7 +2675,7 @@ main() pgport = NULL; /* port of the backend server */ pgoptions = NULL; /* special options to start up the backend * server */ - pgtty = NULL; /* debugging tty for the backend server */ + pgtty = NULL; /* unused */ dbName = "template1"; /* make a connection to the database */ @@ -2826,7 +2823,7 @@ main() pgport = NULL; /* port of the backend server */ pgoptions = NULL; /* special options to start up the backend * server */ - pgtty = NULL; /* debugging tty for the backend server */ + pgtty = NULL; /* unused */ dbName = getenv("USER"); /* change this to the name of your test * database */ @@ -2950,7 +2947,7 @@ main() pgport = NULL; /* port of the backend server */ pgoptions = NULL; /* special options to start up the backend * server */ - pgtty = NULL; /* debugging tty for the backend server */ + pgtty = NULL; /* unused */ dbName = getenv("USER"); /* change this to the name of your test * database */ -- cgit v1.2.3