Re: BUG #4040: psql should provide option to not prompt for password

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mika Fischer <mf+ubuntu(at)zoopnet(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4040: psql should provide option to not prompt for password
Date: 2008-03-17 15:04:16
Message-ID: 9624.1205766256@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Mika Fischer <mf+ubuntu(at)zoopnet(dot)de> writes:
> * Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2008-03-17 17:05:25 Re: BUG #4040: psql should provide option to not prompt for password
Previous Message Mika Fischer 2008-03-17 15:00:45 Re: BUG #4040: psql should provide option to not prompt for password