Re: [BUG] Logical replica crash if there was an error in a function.

Поиск
Список
Период
Сортировка
От Anton A. Melnikov
Тема Re: [BUG] Logical replica crash if there was an error in a function.
Дата
Msg-id 3ee70f0e-7edc-8099-73a5-3fb74745c02e@inbox.ru
обсуждение исходный текст
Ответ на Re: [BUG] Logical replica crash if there was an error in a function.  ("Anton A. Melnikov" <aamelnikov@inbox.ru>)
Ответы Re: [BUG] Logical replica crash if there was an error in a function.
Список pgsql-hackers
Hello!

The patch was rebased on current master.
And here is a simplified crash reproduction:
1) On primary with 'wal_level = logical' execute:
  CREATE TABLE public.test (id int NOT NULL, val integer);
  CREATE PUBLICATION test_pub FOR TABLE test;

2) On replica replace XXXX in the repcmd.sql  attached with primary port and execute it:
psql -f repcmd.sql

3) On master execute command:
INSERT INTO test VALUES ('1');

With best regards,

-- 
Anton A. Melnikov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
Вложения

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

Предыдущее
От: Alexander Pyhalov
Дата:
Сообщение: Re: Add semi-join pushdown to postgres_fdw
Следующее
От: David Rowley
Дата:
Сообщение: Re: Reducing the chunk header sizes on all memory context types