Re: Patch to be verbose about being unable to read ~/.pgpasss...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch to be verbose about being unable to read ~/.pgpasss...
Дата
Msg-id 20291.1056139798@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Patch to be verbose about being unable to read ~/.pgpasss...  (Sean Chittenden <sean@chittenden.org>)
Ответы Re: Patch to be verbose about being unable to read ~/.pgpasss...  (Sean Chittenden <sean@chittenden.org>)
Список pgsql-patches
Sean Chittenden <sean@chittenden.org> writes:
> Would you like me to add an interface that'd allow stderr to be
> redirected in the case of defaultNoticeProcessor()?

No, the application is supposed to set a notice processor if it doesn't
want stuff going to stderr.  I don't think that stuff needs to be
redesigned.

> We can stat a file that is owned by root and not readable to the user.
> In such a case, because the user isn't able to read the file, all
> libpq applications will fail making it effectively possible for the
> system admin to shut off all applications that use libpq.

Hardly, since the user can simply remove or rename the file.  It's in
his home directory, remember?  (If he can't write his home directory
then whether libpq works is the least of his troubles.)

            regards, tom lane

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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: Patch to be verbose about being unable to read ~/.pgpasss...
Следующее
От: Sean Chittenden
Дата:
Сообщение: Re: Patch to be verbose about being unable to read ~/.pgpasss...