Re: whats the deal with -u ?
От | Gregory Stark |
---|---|
Тема | Re: whats the deal with -u ? |
Дата | |
Msg-id | 87odczmhmz.fsf@oxford.xeocode.com обсуждение исходный текст |
Ответ на | Re: whats the deal with -u ? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: whats the deal with -u ?
|
Список | pgsql-hackers |
"Tom Lane" <tgl@sss.pgh.pa.us> writes: > Alvaro Herrera <alvherre@alvh.no-ip.org> writes: >> I have never understood what's the point of having an option to force a >> password prompt. I wonder why don't we deprecate -W? > > It's not *completely* useless, because you only need one connection > attempt not two --- normally, psql gets rejected once before figuring > out that it must ask for a password. Hm, I wonder if this fixes one of the annoyances of kerberos support. If you have kerberos tickets psql uses the principal name from them rather than your unix username. If you don't actually use kerberos authentication for your postgres server then that means you have to specify the user on the command line all the time. Don't actually have a psql built with kerberos authentication handy but I'll try to remember to test this the next time I do. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Get trained by Bruce Momjian - ask me about EnterpriseDB'sPostgreSQL training!
В списке pgsql-hackers по дате отправления: