Re: Comments in .pgpass file... - Mailing list pgsql-admin

From Tom Lane
Subject Re: Comments in .pgpass file...
Date
Msg-id 3720222.1716253799@sss.pgh.pa.us
Whole thread Raw
In response to Comments in .pgpass file...  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: Comments in .pgpass file...
List pgsql-admin
Ron Johnson <ronljohnsonjr@gmail.com> writes:
> It seems that psql (or maybe libpq) doesn't like trailing comments.

Why would you think it would take that?  The manual says that lines
beginning with '#' are comments, but not more than that.

> But this does not:
> 10.143.170.206:5432:*:11026270:Blarge # Host name: fubar

If that acted as a comment, it'd be impossible to use passwords
containing '#'.

            regards, tom lane



pgsql-admin by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Comments in .pgpass file...
Next
From: Erik Wienhold
Date:
Subject: Re: Comments in .pgpass file...