From a25fc9edcb6b1ed589d9767b4b8c1cdae21c3cc3 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Tue, 6 Sep 2011 17:32:14 -0400 Subject: [PATCH] Add documentation suggestion about adding a comment to the top of pgpass. Backpatch to 9.1. --- doc/src/sgml/libpq.sgml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 268b642b828..d642edea81a 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -6494,6 +6494,8 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough) <synopsis> <replaceable>hostname</replaceable>:<replaceable>port</replaceable>:<replaceable>database</replaceable>:<replaceable>username</replaceable>:<replaceable>password</replaceable> </synopsis> + (You can add a reminder comment to the file by copying the line above and + preceeding it with <literal>#</>.) Each of the first four fields can be a literal value, or <literal>*</literal>, which matches anything. The password field from the first line that matches the current connection parameters will be -- GitLab