Re: 'replication' keyword on .pgpass (Streaming Replication)

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: 'replication' keyword on .pgpass (Streaming Replication)
Дата
Msg-id 4B45D73B.7000907@enterprisedb.com
обсуждение исходный текст
Ответ на Re: 'replication' keyword on .pgpass (Streaming Replication)  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander wrote:
> However, wouldn't it make more logical sense to replace "host/hostssl"
> with "replication/replicationssl" rather than overload the database
> field?

It makes more sense to me to overload the database field. When you
connect for replication, you're not connecting to any particular
database, but to a special walsender mode.

Note that 'local' makes sense for replication too; you can connect for
replication via a Unix-domain socket. Replication isn't a connection
method like host/hostssl/local are.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_migrator issues
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: 'replication' keyword on .pgpass (Streaming Replication)