mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Document libpq service capability, and add sample file.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.104 2003/01/06 22:48:16 momjian Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.105 2003/01/07 04:25:29 momjian Exp $
|
||||
-->
|
||||
|
||||
<chapter id="libpq">
|
||||
@ -209,6 +209,19 @@ PGconn *PQconnectdb(const char *conninfo)
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>service</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Service name to use for additional parameters. It specifies a service
|
||||
name in pg_service.conf that holds additional connection parameters.
|
||||
This allows applications to specify only a service name so connection parameters
|
||||
can be centrally maintained. See <literal>pg_service.conf.sample</> for
|
||||
information on how to set up the file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
If any parameter is unspecified, then the corresponding
|
||||
|
Reference in New Issue
Block a user