Open a streamed block for transactional messages during decoding

Поиск
Список
Период
Сортировка
От Zhijie Hou (Fujitsu)
Тема Open a streamed block for transactional messages during decoding
Дата
Msg-id OS0PR01MB5716AEBD2988F8F5E9D5985794DFA@OS0PR01MB5716.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответы Re: Open a streamed block for transactional messages during decoding  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
Hi,

While reviewing the test_decoding code, I noticed that when skip_empty_xacts
option is specified, it doesn't open the streaming block( e.g.
pg_output_stream_start) before streaming the transactional MESSAGE even if it's
the first change in a streaming block.

It looks inconsistent with what we do when streaming DML
changes(e.g. pg_decode_stream_change()).

Here is a small patch to open the stream block in this case.

Best Regards,
Hou Zhijie


Вложения

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

Предыдущее
От: Devrim Gündüz
Дата:
Сообщение: d844cd75a and postgres_fdw
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] Tracking statements entry timestamp in pg_stat_statements