Re: Patch: Implement failover on libpq connect level.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Patch: Implement failover on libpq connect level.
Дата
Msg-id 562E8C55.9030409@gmx.net
обсуждение исходный текст
Ответ на Patch: Implement failover on libpq connect level.  (Victor Wagner <vitus@wagner.pp.ru>)
Ответы Re: Patch: Implement failover on libpq connect level.  (Christopher Browne <cbbrowne@gmail.com>)
Re: Patch: Implement failover on libpq connect level.  (Victor Wagner <vitus@wagner.pp.ru>)
Re: Patch: Implement failover on libpq connect level.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 10/14/15 6:41 AM, Victor Wagner wrote:
> 1. It is allowed to specify several hosts in the connect string, either
> in URL-style (separated by comma) or in param=value form (several host
> parameters).

I'm not fond of having URLs that are not valid URLs according to the
applicable standards.  Because then they can't be parsed or composed by
standard libraries.

Also, this assumes that all the components other than host and port are
the same.  Earlier there was a discussion about why the ports would ever
need to be different.  Well, why can't the database names be different?I could have use for that.

I think you should just accept multiple URLs.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Proposal: Trigonometric functions in degrees
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Patch (2): Implement failover on libpq connect level.