RE: Libpq support to connect to standby server as priority

Поиск
Список
Период
Сортировка
От Tsunakawa, Takayuki
Тема RE: Libpq support to connect to standby server as priority
Дата
Msg-id 0A3221C70F24FB45833433255569204D1F876859@G01JPEXMBYT05
обсуждение исходный текст
Ответ на Libpq support to connect to standby server as priority  (Jing Wang <jingwangian@gmail.com>)
Ответы Re: Libpq support to connect to standby server as priority
Список pgsql-hackers
From: Jing Wang [mailto:jingwangian@gmail.com]
> This is a proposal that let libpq support 'prefer-read' option in
> target_session_attrs in pg_conn. The 'prefer-read' means the libpq will
> try to connect to a 'read-only' server firstly from the multiple server
> addresses. If failed to connect to the 'read-only' server then it will try
> to connect to the 'read-write' server.

There's a pending patch I started.  I'd be happy if you could continue this.

https://commitfest.postgresql.org/15/1148/

Regards
Takayuki Tsunakawa


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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench - add \if support
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TupleDescCopy doesn't clear atthasdef, attnotnull, attidentity