pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Wienhold <ewie@ewie.name>
Subject: [PATCH v1] doc: Add note on case-sensitive matching in password file
Date: Mon, 23 Oct 2023 02:43:25 +0200

Add this missing details which causes confusion again and again.
Especially for host names which are not case-sensitive when resolved
with DNS.
---
 doc/src/sgml/libpq.sgml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index a52baa27d5..fee2bde8ff 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -8554,6 +8554,13 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
    the same password for all databases in the same cluster.
   </para>
 
+  <note>
+   <para>
+    The host name, database name, and user name are matched case-sensitively
+    to the respective connection parameters.
+   </para>
+  </note>
+
   <para>
    On Unix systems, the permissions on a password file must
    disallow any access to world or group; achieve this by a command such as
-- 
2.42.0


--sjcrfumf5j7xrvl2--





Message-ID: <no-message-id-17520@localhost>
Permalink:  ../no-message-id-17520@localhost/
Also on:    postgresql.org/message-id/no-message-id-17520@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ewie@ewie.name
  Subject: Re: [PATCH v1] doc: Add note on case-sensitive matching in password file
  In-Reply-To: <no-message-id-17520@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox