Re: Host name in .pgpass - Mailing list pgsql-admin

From Ron
Subject Re: Host name in .pgpass
Date
Msg-id d8f99c38-1002-5df1-3ebe-49176c811edc@gmail.com
Whole thread Raw
In response to Host name in .pgpass  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-admin
/etc/hosts is not case sensitive, and neither is the value passed via "--hosts=".

Thus, it is completely reasonable that .pgpass be case-insensitive.

On 3/29/23 09:24, c Campo wrote:
Since PostgreSQL runs on UNIX/LINUX/Win systems, which ARE case sensitive operating systems, and since PostgreSQL database table field names ARE case sensitive, then I would assume that case sensitivity would carry over to the .pgpass table.
On March 29, 2023 10:16 AM Ron <ronljohnsonjr@gmail.com> wrote:



https://www.postgresql.org/docs/current/libpq-pgpass.html doesn't mention anything about host name case sensitivity, but my experience is that the the field IS case sensitive.

Am I missing some other bit of documentation?

$ psql --host=FISPTAPPGS302a.itocservices.com -c "\q"

$ psql --host=FISPTAPPGS302A.itocservices.com -c "\q"
Password for user postgres:
psql: error: fe_sendauth: no password supplied



--
Born in Arizona, moved to Babylonia.

--
Born in Arizona, moved to Babylonia.

pgsql-admin by date:

Previous
From: Ron
Date:
Subject: Host name in .pgpass
Next
From: oernii+pg@axonpro.sk
Date:
Subject: pg15 and VM snapshots with pg_backup_start