Re: BUG #4040: psql should provide option to not prompt for password - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4040: psql should provide option to not prompt for password
Date
Msg-id 9624.1205766256@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4040: psql should provide option to not prompt for password  ("Mika Fischer" <mf+ubuntu@zoopnet.de>)
List pgsql-bugs
Mika Fischer <mf+ubuntu@zoopnet.de> writes:
> * Tom Lane <tgl@sss.pgh.pa.us> [2008-03-17 15:28]:
>> Something that might be more useful is to see if there's a connection
>> service file
>> http://developer.postgresql.org/pgdocs/postgres/libpq-pgservice.html
>> and offer the names of service entries in it.

> Yes, that also seems to be useful. What is the recommended way to use
> these service names?

> 'psql "service=name"' or 'psql -d name'?

psql service=name is the shortest way.  You don't need quotes as long as
there's not any funny characters in the name.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4040: psql should provide option to not prompt for password
Next
From: Mika Fischer
Date:
Subject: Re: BUG #4040: psql should provide option to not prompt for password