Re: BUG #13741: vacuumdb does not accept valid password

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #13741: vacuumdb does not accept valid password
Дата
Msg-id 20151112210850.GP614468@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: BUG #13741: vacuumdb does not accept valid password  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: BUG #13741: vacuumdb does not accept valid password
Список pgsql-bugs
Michael Paquier wrote:

> OK, so attached is a patch aimed at master and 9.5. I reused the
> suggestion of Haribabu to not rely completely on the maintenance
> database after testing with a couple of database, some of them using
> md5 and others trust. That's just more portable this way, and user
> just needs to specify the password once to be done even with vacuumdb
> --all.

Thanks, pushed a slightly tweaked version.  If you can please verify
that I didn't break anything, it'd be great.

FWIW I think the mode that generated the most connections is -jN --all
--analyze-in-stages.  For additional annoyance, one sets up the
"postgres" database with trust auth and others with md5.  All the cases
I tried only get a single prompt now.

Thanks Eric for reporting the problem and Haribabu and Michael for
patching.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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

Предыдущее
От: manu@coopapotheken.be
Дата:
Сообщение: BUG #13774: upgrade from 9.1 to 9.4 'succeeds' without enough disk space
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13741: vacuumdb does not accept valid password