Re: [BUG] Logical replica crash if there was an error in a function. - Mailing list pgsql-hackers

From Anton A. Melnikov
Subject Re: [BUG] Logical replica crash if there was an error in a function.
Date
Msg-id 40642b7a-1202-7e09-fc57-1a119f1528b7@inbox.ru
Whole thread Raw
In response to Re: [BUG] Logical replica crash if there was an error in a function.  ("Anton A. Melnikov" <aamelnikov@inbox.ru>)
Responses Re: [BUG] Logical replica crash if there was an error in a function.
List pgsql-hackers
Hello!

Added a TAP test for this case.

On 30.08.2022 10:09, Anton A. Melnikov wrote:
> 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
Attachment

pgsql-hackers by date:

Previous
From: Vik Fearing
Date:
Subject: Re: Doc fix and adjustment for MERGE command
Next
From: Michael Paquier
Date:
Subject: Re: Bump MIN_WINNT to 0x0600 (Vista) as minimal runtime in 16~