Re: postgres_fdw binary protocol support

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: postgres_fdw binary protocol support
Дата
Msg-id CAM-w4HPXWYPM7zLfwcHO4KuBb3ZGX7KXiAA0EPzZthvNcBdQhg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgres_fdw binary protocol support  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
Список pgsql-hackers
On Tue, 22 Nov 2022 at 08:17, Ashutosh Bapat
<ashutosh.bapat.oss@gmail.com> wrote:
>
> AFAIU, binary compatibility of two postgresql servers depends upon the
> binary compatibility of the platforms on which they run.

No, libpq binary mode is not architecture-specific. I think you're
thinking of on-disk binary compatibility. But libpq binary mode is
just a binary network representation of the data instead of an ascii
representation. It should be faster and more efficient but it still
goes through binary input/output functions (which aren't named
input/output)

I actually wonder if having this would be a good way to get some code
coverage of the binary input/output functions which I suspect is sadly
lacking now. It wouldn't necessarily test that they're doing what
they're supposed to... but at least they would be getting run which I
don't think they are currently?

-- 
greg



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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Hash index build performance tweak from sorting
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: fixing CREATEROLE