Re: [HACKERS] Refreshing subscription relation state inside atransaction block - Mailing list pgsql-hackers

From Petr Jelinek
Subject Re: [HACKERS] Refreshing subscription relation state inside atransaction block
Date
Msg-id 0ec51cc7-0bca-0d86-1394-3fc77c158200@2ndquadrant.com
Whole thread Raw
In response to [HACKERS] Refreshing subscription relation state inside a transaction block  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: [HACKERS] Refreshing subscription relation state inside atransaction block  (Masahiko Sawada <sawada.mshk@gmail.com>)
List pgsql-hackers
On 13/06/17 09:06, Masahiko Sawada wrote:
> Hi,
> 
> The commit ddd7b22b225ae41d16ceb218b387645cb9becfdc makes table sync
> workers stop when subscription relation entry is removed. It doesn't
> work fine inside transaction block. I think we should disallow to use
> the following subscription DDLs inside a transaction block. Attached
> patch.
> 

Can you be more specific than "It doesn't work fine inside transaction
block", what do you expect to happen and what actually happens?

--  Petr Jelinek                  http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] RTE_NAMEDTUPLESTORE, enrtuples and comments
Next
From: Jeevan Ladhe
Date:
Subject: [HACKERS] fix possible optimizations in ATExecAttachPartition()