Re: Logical Replication and Character encoding

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Logical Replication and Character encoding
Дата
Msg-id 5401fef6-c0c0-7e8a-d8b1-169e30cbd854@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Logical Replication and Character encoding  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Ответы Re: Logical Replication and Character encoding
Список pgsql-hackers
After further thinking, I prefer the alternative approach of using
pq_sendcountedtext() as is and sticking the trailing zero byte on on the
receiving side.  This is a more localized change, and keeps the logical
replication protocol consistent with the main FE/BE protocol.  (Also, we
don't need to send a useless byte around.)

Patch attached, and also a test case.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: partitioned tables and contrib/sepgsql
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Quorum commit for multiple synchronous replication.