diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-17 22:26:02 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-17 22:26:02 +0000 |
| commit | cb7fb3ca958ec8bd5a14e740c067f1d096af3454 (patch) | |
| tree | 3494f623627ebebb9590c0ab993297a719bfe7f2 /doc/src | |
| parent | 76fd678c06b826ae50aac5c4afb2e01e69d2b405 (diff) | |
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.
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/libpq.sgml | 19 |
1 files changed, 8 insertions, 11 deletions
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 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.117 2003/03/25 16:15:37 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.118 2003/04/17 22:26:00 tgl Exp $ --> <chapter id="libpq"> @@ -193,7 +193,7 @@ PGconn *PQconnectdb(const char *conninfo); <term><literal>tty</literal></term> <listitem> <para> - A file or <acronym>TTY</acronym> for optional debug output from the server. + Ignored (formerly, this specified where to send server debug output). </para> </listitem> </varlistentry> @@ -669,6 +669,9 @@ char *PQport(const PGconn *conn); <listitem> <para> Returns the debug <acronym>TTY</acronym> of the connection. + (This is obsolete, since the server no longer pays attention + to the <acronym>TTY</acronym> setting, but the function remains + for backwards compatibility.) <synopsis> char *PQtty(const PGconn *conn); </synopsis> @@ -2365,12 +2368,6 @@ the <productname>PostgreSQL</productname> server. </listitem> <listitem> <para> -<envar>PGTTY</envar> sets the file or <acronym>TTY</> on which debugging -messages from the server are displayed. -</para> -</listitem> -<listitem> -<para> <envar>PGREQUIRESSL</envar> sets whether or not the connection must be made over <acronym>SSL</acronym>. If set to <quote>1</quote>, <application>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 */ |
