Re: [PoC] load balancing in libpq

Поиск
Список
Период
Сортировка
От Euler Taveira
Тема Re: [PoC] load balancing in libpq
Дата
Msg-id 505F14FE.7000103@timbira.com
обсуждение исходный текст
Ответ на [PoC] load balancing in libpq  (Satoshi Nagayasu <snaga@uptime.jp>)
Ответы Re: [PoC] load balancing in libpq  (Christopher Browne <cbbrowne@gmail.com>)
Список pgsql-hackers
On 23-09-2012 07:50, Satoshi Nagayasu wrote:
> I have just written the first PoC code to enable load balancing
> in the libpq library.
> 
Your POC is totally broken. Just to point out two problems: (i) semicolon (;)
is a valid character for any option in the connection string and (ii) you
didn't think about PQsetdb[Login](), PQconnectdbParams() and
PQconnectStartParams(). If you want to pursue this idea, you should think a
way to support same option multiple times (one idea is host1, host2, etc).

Isn't it easier to add support on your application or polling software?


--   Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/  PostgreSQL: Consultoria, Desenvolvimento,
Suporte24x7 e Treinamento
 



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed
Следующее
От: Rural Hunter
Дата:
Сообщение: Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed