Re: Proposal to provide the facility to set binary format output for specific OID's per session

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Proposal to provide the facility to set binary format output for specific OID's per session
Дата
Msg-id cf1762e4-5d85-a693-26d1-1d6dfa4d111d@joeconway.com
обсуждение исходный текст
Ответ на Re: Proposal to provide the facility to set binary format output for specific OID's per session  (Jack Christensen <jack@jackchristensen.com>)
Ответы Re: Proposal to provide the facility to set binary format output for specific OID's per session  (Sehrope Sarkuni <sehrope@jackdb.com>)
Список pgsql-hackers
On 7/25/22 10:07, Jack Christensen wrote:
> The advantage is to be able to use the binary format with only a single 
> network round trip in cases where prepared statements are not possible. 
> e.g. when using PgBouncer. Using the simple protocol with this patch 
> lets users of pgx (the Go driver mentioned above) and PgBouncer use the 
> binary format. The performance gains can be significant especially with 
> types such as timestamptz that are very slow to parse.
> 
> As far as only sending binary types that the client can understand, the 
> client driver would call `set format_binary` at the beginning of the 
> session.

+1 makes a lot of sense to me.

Dave please add this to the open commitfest (202209)

-- 
Joe Conway
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Hamid Akhtar
Дата:
Сообщение: Re: Allow pageinspect's bt_page_stats function to return a set of rows instead of a single row
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: very long record lines in expanded psql output