Re: Binary support for pgoutput plugin

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Binary support for pgoutput plugin
Дата
Msg-id CADK3HH+nT4s8sZC3cBzbr2W64iz7B60TEtWYXc2opsnq08e7NA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Binary support for pgoutput plugin  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Список pgsql-hackers
OK, before I go too much further down this rabbit hole I'd like feedback on the current code. See attached patch

There is one obvious hack where in binary mode I reset the input cursor to allow the binary input to be re-read
From what I can tell the alternative is to convert the data in logicalrep_read_tuple but that would require moving a lot of the logic currently in worker.c to proto.c. This seems minimally invasive.

and thanks Petr for the tip to use pglogical for ideas.

Thanks,
Dave Cramer




Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Is it safe to ignore the return value of SPI_finish andSPI_execute?
Следующее
От: David Rowley
Дата:
Сообщение: Re: Should we warn against using too many partitions?