Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
87fa10a4
Commit
87fa10a4
authored
Mar 01, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pg_service.conf documentation for libpq.
parent
e24cea8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
4 deletions
+31
-4
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+31
-4
No files found.
doc/src/sgml/libpq.sgml
View file @
87fa10a4
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.20
3 2006/02/28 22:35:35
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.20
4 2006/03/01 00:23:21
momjian Exp $
-->
-->
<chapter id="libpq">
<chapter id="libpq">
...
@@ -298,9 +298,7 @@ PGconn *PQconnectdb(const char *conninfo);
...
@@ -298,9 +298,7 @@ PGconn *PQconnectdb(const char *conninfo);
Service name to use for additional parameters. It specifies a service
Service name to use for additional parameters. It specifies a service
name in <filename>pg_service.conf</filename> that holds additional connection parameters.
name in <filename>pg_service.conf</filename> that holds additional connection parameters.
This allows applications to specify only a service name so connection parameters
This allows applications to specify only a service name so connection parameters
can be centrally maintained. See
can be centrally maintained. See <xref linkend="libpq-pgservice">.
<filename>share/pg_service.conf.sample</> in the installation
directory for information on how to set up the file.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -4031,6 +4029,35 @@ however.)
...
@@ -4031,6 +4029,35 @@ however.)
</sect1>
</sect1>
<sect1 id="libpq-pgservice">
<title>The Connection Service File</title>
<indexterm zone="libpq-pgservice">
<primary>connection service file</primary>
</indexterm>
<indexterm zone="libpq-pgservice">
<primary>pg_service.conf</primary>
</indexterm>
<para>
The connection service file allows libpq connection parameters to be
associated with a single service name. That service name can then be
specified by a libpq connection, and the associated settings will be
used. This allows connection parameters to be modified without requiring
a recompile of the libpq application. The service name can also be
specified using the <envar>PGSERVICE</envar> environment variable.
</para>
<para>
To use this feature, copy
<filename>share/pg_service.conf.sample</filename> to
<filename>etc/pg_service.conf</filename> and edit the file to add
service names and parameters. This file can be used for client-only
installs too. The file's location can also be specified by the
<envar>PGSYSCONFDIR</envar> environment variable.
</para>
</sect1>
<sect1 id="libpq-ssl">
<sect1 id="libpq-ssl">
<title>SSL Support</title>
<title>SSL Support</title>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment