From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
Cc: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Comments in .pgpass file... |
Date: | 2024-05-21 01:07:21 |
Message-ID: | CAKFQuwaBj0r88mzYU4aRgGbOKZB8OagxNkwa5Vt85j6KBOXjHg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Monday, May 20, 2024, Ron Johnson <ronljohnsonjr(at)gmail(dot)com> wrote:
> It seems that psql (or maybe libpq) doesn't like trailing comments.
>
> This works:
> 10.143.170.206:5432:*:11026270:Blarge
>
> But this does not:
> 10.143.170.206:5432:*:11026270:Blarge # Host name: fubar
>
> (Don't tell me to use DNS. I would if the servers would stay in DNS.)
>
.pgpass is a libpq thing.
https://www.postgresql.org/docs/current/libpq-pgpass.html
The docs in a bit round-a-bout way state that a comment line begins with
the hashtag. No other mention of comment formats are given.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-05-21 01:09:59 | Re: Comments in .pgpass file... |
Previous Message | Ron Johnson | 2024-05-21 01:01:45 | Comments in .pgpass file... |