From 71be8db5dfada851c45d6f4d1d7364456fd40be5 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 21 Oct 2010 21:46:42 +0000
Subject: [PATCH] Mention limited usefulness of .pgpass database field.

---
 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 70d9202e50d..a911c500d31 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -6331,6 +6331,8 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
    or the default socket directory) connections coming from the local
    machine. In a standby server, a database name of <literal>replication</>
    matches streaming replication connections made to the master server.
+   The <literal>database</> field is of limited usefulness because
+   users have the same password for all databases in the same cluster.
   </para>
 
   <para>
-- 
GitLab