From eea36f661c6efbb27258f1ed68dffa5f1ecb0914 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 28 Apr 2003 19:30:49 +0000 Subject: [PATCH] Minor wordsmithing on .pgpass description. --- doc/src/sgml/libpq.sgml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index b8499f0232..bff6f294f4 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ @@ -2519,10 +2519,13 @@ This file should have lines of the following format: hostname:port:database:username:password -Each of these fields may be a literal name or *, which -matches anything. The first matching entry will be used, so put more-specific -entries first. When an entry contain : or -\, it must be escaped with \. +Each of the first four fields may be a literal value, or *, +which +matches anything. The password field from the first line that matches the +current connection parameters will be used. (Therefore, put more-specific +entries first when you are using wildcards.) +If an entry needs to contain : or +\, escape this character with \. The permissions on .pgpass must disallow any