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
ba95f2d6
Commit
ba95f2d6
authored
Nov 03, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This patch adds information to the documentation on .pgpass and creates
additional index entries for it. Oliver Elphick
parent
08e8c8a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
doc/src/sgml/libpq.sgml
doc/src/sgml/libpq.sgml
+13
-2
No files found.
doc/src/sgml/libpq.sgml
View file @
ba95f2d6
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.9
7 2002/09/21 18:32:53 petere
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.9
8 2002/11/03 01:30:46 momjian
Exp $
-->
<chapter id="libpq">
...
...
@@ -2047,7 +2047,8 @@ sets the user name used to connect to the database and for authentication.
<envar>PGPASSWORD</envar>
sets the password used if the backend demands password
authentication. This functionality is deprecated for security
reasons; consider migrating to use the <filename>$HOME/.pgpass</>
reasons; consider migrating to use the <link linkend='pgpassfile'>
<filename>$HOME/.pgpass</></link>
file.
</para>
</listitem>
...
...
@@ -2133,6 +2134,11 @@ for information on correct values for these environment variables.
<primary>files</primary>
</indexterm>
<para>
<anchor id="pgpassfile"/>
<indexterm>
<primary>password</primary>
<secondary>.pgpass</secondary>
</indexterm>
<filename>$HOME/.pgpass</filename> is a file that can contain passwords
to be used if the connection requires a password. This file should have the
format:
...
...
@@ -2144,6 +2150,11 @@ anything. The first match will be used so put more specific entries first.
Entries with <literal>:</literal> or <literal>\</literal> should be escaped
with <literal>\</literal>.
</para>
<para>
The permissions on <filename>$HOME/.pgpass</filename> must disallow any
access to world or group; achieve this by the command
<command>chmod 0600 $HOME/.pgaccess</command>.
If the permissions are less strict than this, the file will be ignored.
</sect1>
<sect1 id="libpq-threading">
...
...
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