Re: I "might" have found a bug on 8.2.1 win32

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: I "might" have found a bug on 8.2.1 win32
Дата
Msg-id 45C23091.3010407@hagander.net
обсуждение исходный текст
Ответ на Re: I "might" have found a bug on 8.2.1 win32  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Ответы Re: I "might" have found a bug on 8.2.1 win32  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Список pgsql-general
Tony Caduto wrote:
> Never mind,
> somehow a application setup a pgpass.conf file for me
> without my knowledge.

Have you been leaving the dark side lately?
(pgAdmin does this..)


> Sorry it's not a bug.  However I wonder if it might be a good idea if
> psql would raise a warning after logon that a pgpass.conf file was used
> for authentication or have it written to the log. I am sure some 3rd
> party application I was testing created the file when it took my server
> login information.  I would have found out about it right away if it's
> use would have been written to the log.

psql can't do this, really, because that part happens entirely in libpq.
We'd need extra API for this. IIRC, I suggested this before, but I can't
remember what the result with. Running out of batteries ATM, so no time
to look it up in the archives ;-)

//Magnus

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

Предыдущее
От:
Дата:
Сообщение: Re: How to allow users to log on only from my application
Следующее
От: RPK
Дата:
Сообщение: PGSQL backup types and scheduling.