Re: SR slaves and .pgpass

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: SR slaves and .pgpass
Дата
Msg-id 4C0D1999.5090900@dunslane.net
обсуждение исходный текст
Ответ на Re: SR slaves and .pgpass  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> Why don't we improve the code, instead?  In particular make
> libpqrcv_connect() do
>
> -    snprintf(conninfo_repl, sizeof(conninfo_repl), "%s replication=true", conninfo);
> +    snprintf(conninfo_repl, sizeof(conninfo_repl), "%s database=replication replication=true", conninfo);
>
> I don't think it's unlikely that someone would try to enter a
> replication-specific password into ~/.pgpass.
>
>             
>   

+1. It's highly likely - that's how we got here in the first place. It 
seems to me like a perfectly reasonable thing to do.

cheers

andrew


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: pgstatindex still throws ERROR: value "3220078592" is out of range for type integer
Следующее
От: Mike Toews
Дата:
Сообщение: psql: ON_ERROR_STOP command-line flag for scripts