Re: Comments in .pgpass file...

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Comments in .pgpass file...
Дата
Msg-id CAKFQuwaBj0r88mzYU4aRgGbOKZB8OagxNkwa5Vt85j6KBOXjHg@mail.gmail.com
обсуждение исходный текст
Ответ на Comments in .pgpass file...  (Ron Johnson <ronljohnsonjr@gmail.com>)
Список pgsql-admin
On Monday, May 20, 2024, Ron Johnson <ronljohnsonjr@gmail.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.


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.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Comments in .pgpass file...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Comments in .pgpass file...