Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-24 Thread Amit Kapila
On Mon, Jun 21, 2021 at 8:48 AM osumi.takami...@fujitsu.com wrote: > > On Sunday, June 20, 2021 9:50 PM I wrote: > > On Sunday, June 20, 2021 3:23 PM Amit Kapila > > wrote: > > > On Sun, Jun 20, 2021 at 9:28 AM osumi.takami...@fujitsu.com > > > wrote: > > > > *

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-20 Thread osumi.takami...@fujitsu.com
On Sunday, June 20, 2021 9:50 PM I wrote: > On Sunday, June 20, 2021 3:23 PM Amit Kapila > wrote: > > On Sun, Jun 20, 2021 at 9:28 AM osumi.takami...@fujitsu.com > > wrote: > > > * doc/src/sgml/logicaldecoding.sgml > ... > > > > > > Now we have the four paren supplementary descriptions, not to

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-20 Thread osumi.takami...@fujitsu.com
On Sunday, June 20, 2021 3:23 PM Amit Kapila wrote: > On Sun, Jun 20, 2021 at 9:28 AM osumi.takami...@fujitsu.com > wrote: > > * doc/src/sgml/logicaldecoding.sgml ... > > > > Now we have the four paren supplementary descriptions, not to make > > users miss any other [user] catalog tables. > >

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-20 Thread Amit Kapila
On Sun, Jun 20, 2021 at 9:28 AM osumi.takami...@fujitsu.com wrote: > > On Saturday, June 19, 2021 6:51 PM Amit Kapila > wrote: > > On Fri, Jun 18, 2021 at 2:25 PM osumi.takami...@fujitsu.com > > wrote: > > > > > > On Friday, June 18, 2021 11:41 AM osumi.takami...@fujitsu.com > > wrote: > > >

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-19 Thread osumi.takami...@fujitsu.com
On Saturday, June 19, 2021 6:51 PM Amit Kapila wrote: > On Fri, Jun 18, 2021 at 2:25 PM osumi.takami...@fujitsu.com > wrote: > > > > On Friday, June 18, 2021 11:41 AM osumi.takami...@fujitsu.com > wrote: > > > > Simon, I appreciate your suggestions and yes, if the user catalog > > > table is

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-19 Thread Amit Kapila
On Fri, Jun 18, 2021 at 2:25 PM osumi.takami...@fujitsu.com wrote: > > On Friday, June 18, 2021 11:41 AM osumi.takami...@fujitsu.com > wrote: > > Simon, I appreciate your suggestions and yes, if the user catalog table is > > referenced by the output plugin, it can be another cause of the

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-18 Thread osumi.takami...@fujitsu.com
On Friday, June 18, 2021 11:41 AM osumi.takami...@fujitsu.com wrote: > On Thursday, June 17, 2021 10:34 PM Simon Riggs > wrote: > > On Thu, Jun 17, 2021 at 12:57 PM Amit Kapila > > wrote: > > > On Thu, Jun 17, 2021 at 4:27 PM Amit Kapila > > > > > wrote: > > > > > > > > On Thu, Jun 17, 2021

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-17 Thread osumi.takami...@fujitsu.com
On Thursday, June 17, 2021 10:34 PM Simon Riggs wrote: > On Thu, Jun 17, 2021 at 12:57 PM Amit Kapila > wrote: > > On Thu, Jun 17, 2021 at 4:27 PM Amit Kapila > wrote: > > > > > > On Thu, Jun 17, 2021 at 8:41 AM osumi.takami...@fujitsu.com > > > wrote: > > > > > > Pushed! > > > > >

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-17 Thread Simon Riggs
On Thu, Jun 17, 2021 at 12:57 PM Amit Kapila wrote: > > On Thu, Jun 17, 2021 at 4:27 PM Amit Kapila wrote: > > > > On Thu, Jun 17, 2021 at 8:41 AM osumi.takami...@fujitsu.com > > wrote: > > > > Pushed! > > > [Responding to Simon's comments] > > > If LOCK and TRUNCATE is advised against on all

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-17 Thread Amit Kapila
On Thu, Jun 17, 2021 at 4:27 PM Amit Kapila wrote: > > On Thu, Jun 17, 2021 at 8:41 AM osumi.takami...@fujitsu.com > wrote: > > Pushed! > [Responding to Simon's comments] > If LOCK and TRUNCATE is advised against on all user catalog tables, why would > CLUSTER only apply to pg_class? Surely

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-17 Thread Amit Kapila
On Thu, Jun 17, 2021 at 8:41 AM osumi.takami...@fujitsu.com wrote: > > On Wednesday, June 16, 2021 7:21 PM Amit Kapila > wrote: > > On Mon, Jun 14, 2021 at 5:33 PM osumi.takami...@fujitsu.com > > wrote: > > > > > > On Friday, June 11, 2021 2:13 PM vignesh C > > wrote: > > > > > > Attached

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-16 Thread osumi.takami...@fujitsu.com
On Wednesday, June 16, 2021 7:21 PM Amit Kapila wrote: > On Mon, Jun 14, 2021 at 5:33 PM osumi.takami...@fujitsu.com > wrote: > > > > On Friday, June 11, 2021 2:13 PM vignesh C > wrote: > > > > Attached the patch-set that addressed those two comments. > > > > Few minor comments: > 1. > +

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-16 Thread vignesh C
On Wed, Jun 16, 2021 at 3:51 PM Amit Kapila wrote: > > On Mon, Jun 14, 2021 at 5:33 PM osumi.takami...@fujitsu.com > wrote: > > > > On Friday, June 11, 2021 2:13 PM vignesh C wrote: > > > > Attached the patch-set that addressed those two comments. > > > > Few minor comments: > 1. > + >

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-16 Thread Amit Kapila
On Mon, Jun 14, 2021 at 5:33 PM osumi.takami...@fujitsu.com wrote: > > On Friday, June 11, 2021 2:13 PM vignesh C wrote: > > Attached the patch-set that addressed those two comments. > Few minor comments: 1. + + +Clustering pg_class in a transaction. Can we change above

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-15 Thread osumi.takami...@fujitsu.com
On Tuesday, June 15, 2021 1:51 PM vignesh C wrote: > > Attached the patch-set that addressed those two comments. > > I also fixed the commit message a bit in the 2PC specific patch to HEAD. > > No other changes. > > > > Please check. > > Thanks for the updated patches, the patch applies cleanly

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-14 Thread vignesh C
On Mon, Jun 14, 2021 at 5:33 PM osumi.takami...@fujitsu.com wrote: > > On Friday, June 11, 2021 2:13 PM vignesh C wrote: > > Thanks for the updated patch: > > Few comments: > > 1) We have used Reordering and Clustering for the same command, we could > > rephrase similarly in both places. > > +

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-14 Thread osumi.takami...@fujitsu.com
On Friday, June 11, 2021 2:13 PM vignesh C wrote: > Thanks for the updated patch: > Few comments: > 1) We have used Reordering and Clustering for the same command, we could > rephrase similarly in both places. > + > +Reordering pg_class by > CLUSTER > +command in a

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-10 Thread vignesh C
On Fri, Jun 11, 2021 at 6:57 AM osumi.takami...@fujitsu.com wrote: > > On Thursday, June 10, 2021 1:30 PM I wrote: > > On Thursday, June 10, 2021 1:14 PM vignesh C > > > On Wed, Jun 9, 2021 at 12:03 PM osumi.takami...@fujitsu.com > > > wrote: > > > > > > > > On Wednesday, June 9, 2021 12:06 PM

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-10 Thread osumi.takami...@fujitsu.com
On Thursday, June 10, 2021 1:30 PM I wrote: > On Thursday, June 10, 2021 1:14 PM vignesh C > > On Wed, Jun 9, 2021 at 12:03 PM osumi.takami...@fujitsu.com > > wrote: > > > > > > On Wednesday, June 9, 2021 12:06 PM Amit Kapila > > wrote: > > > > On Tue, Jun 8, 2021 at 6:24 PM vignesh C > wrote:

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-09 Thread osumi.takami...@fujitsu.com
On Thursday, June 10, 2021 1:14 PM vignesh C > On Wed, Jun 9, 2021 at 12:03 PM osumi.takami...@fujitsu.com > wrote: > > > > On Wednesday, June 9, 2021 12:06 PM Amit Kapila > wrote: > > > On Tue, Jun 8, 2021 at 6:24 PM vignesh C wrote: > > > > > > > > Thanks for the updated patch. > > > > > > >

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-09 Thread vignesh C
On Wed, Jun 9, 2021 at 12:03 PM osumi.takami...@fujitsu.com wrote: > > On Wednesday, June 9, 2021 12:06 PM Amit Kapila > wrote: > > On Tue, Jun 8, 2021 at 6:24 PM vignesh C wrote: > > > > > > Thanks for the updated patch. > > > > > > I have few comments: > > > 1) Should we list the actual

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-09 Thread osumi.takami...@fujitsu.com
On Tuesday, June 8, 2021 5:04 PM I wrote: > On Monday, June 7, 2021 6:22 PM Amit Kapila > wrote: > > On Mon, Jun 7, 2021 at 10:44 AM Amit Kapila > > wrote: > > > > > > One more comment is that for HEAD, first just create a patch with > > > synchronous replication-related doc changes and then

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-09 Thread Amit Kapila
On Wed, Jun 9, 2021 at 12:03 PM osumi.takami...@fujitsu.com wrote: > > On Wednesday, June 9, 2021 12:06 PM Amit Kapila > wrote: > > On Tue, Jun 8, 2021 at 6:24 PM vignesh C wrote: > > > > 3) Should [user] catalog tables be catalog tables or user catalog > > > tables [user] catalog tables > > >

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-09 Thread osumi.takami...@fujitsu.com
On Wednesday, June 9, 2021 12:06 PM Amit Kapila wrote: > On Tue, Jun 8, 2021 at 6:24 PM vignesh C wrote: > > > > Thanks for the updated patch. > > > > I have few comments: > > 1) Should we list the actual system tables like pg_class,pg_trigger, > > etc instead of any other catalog table? > >

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-08 Thread Amit Kapila
On Tue, Jun 8, 2021 at 6:24 PM vignesh C wrote: > > Thanks for the updated patch. > > I have few comments: > 1) Should we list the actual system tables like pg_class,pg_trigger, > etc instead of any other catalog table? > User has issued an explicit LOCK on pg_class (or any other catalog table) >

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-08 Thread vignesh C
On Tue, Jun 8, 2021 at 1:34 PM osumi.takami...@fujitsu.com wrote: > > On Monday, June 7, 2021 6:22 PM Amit Kapila wrote: > > On Mon, Jun 7, 2021 at 10:44 AM Amit Kapila > > wrote: > > > > > > One more comment is that for HEAD, first just create a patch with > > > synchronous replication-related

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-08 Thread osumi.takami...@fujitsu.com
On Monday, June 7, 2021 6:22 PM Amit Kapila wrote: > On Mon, Jun 7, 2021 at 10:44 AM Amit Kapila > wrote: > > > > One more comment is that for HEAD, first just create a patch with > > synchronous replication-related doc changes and then write a separate > > patch for prepared transactions. > > >

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-07 Thread Amit Kapila
On Mon, Jun 7, 2021 at 10:44 AM Amit Kapila wrote: > > One more comment is that for HEAD, first just create a patch with > synchronous replication-related doc changes and then write a separate > patch for prepared transactions. > I noticed that docs for "Synchronous replication support for

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-06 Thread Amit Kapila
On Mon, Jun 7, 2021 at 9:26 AM vignesh C wrote: > > On Mon, Jun 7, 2021 at 4:18 AM osumi.takami...@fujitsu.com > wrote: > > > > On Thursday, June 3, 2021 7:07 PM Amit Kapila > > wrote: > > > On Thu, Jun 3, 2021 at 9:18 AM osumi.takami...@fujitsu.com > > > wrote: > > > > Thank you for

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-06 Thread vignesh C
On Mon, Jun 7, 2021 at 4:18 AM osumi.takami...@fujitsu.com wrote: > > On Thursday, June 3, 2021 7:07 PM Amit Kapila wrote: > > On Thu, Jun 3, 2021 at 9:18 AM osumi.takami...@fujitsu.com > > wrote: > > > Thank you for providing the patch. > > > I have updated your patch to include some other

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-06 Thread osumi.takami...@fujitsu.com
On Thursday, June 3, 2021 1:09 PM vignesh C wrote: > On Thu, Jun 3, 2021 at 9:18 AM osumi.takami...@fujitsu.com > wrote: > > Thank you for providing the patch. > > I have updated your patch to include some other viewpoints. > > > > I also included the description about TRUNCATE on

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-06 Thread osumi.takami...@fujitsu.com
On Thursday, June 3, 2021 7:07 PM Amit Kapila wrote: > On Thu, Jun 3, 2021 at 9:18 AM osumi.takami...@fujitsu.com > wrote: > > Thank you for providing the patch. > > I have updated your patch to include some other viewpoints. > > > > I suggest creating a synchronous replication part of the

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-03 Thread Amit Kapila
On Thu, Jun 3, 2021 at 9:18 AM osumi.takami...@fujitsu.com wrote: > > On Tuesday, June 1, 2021 4:33 PM Peter Smith > > To: Andres Freund > > Cc: PostgreSQL-development ; Amit Kapila > > ; Markus Wanner > > > > Subject: Re: locking [user] catalog tab

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-02 Thread vignesh C
On Thu, Jun 3, 2021 at 9:18 AM osumi.takami...@fujitsu.com wrote: > > On Tuesday, June 1, 2021 4:33 PM Peter Smith > > To: Andres Freund > > Cc: PostgreSQL-development ; Amit Kapila > > ; Markus Wanner > > > > Subject: Re: locking [user] catalog tab

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-06-02 Thread osumi.takami...@fujitsu.com
On Tuesday, June 1, 2021 4:33 PM Peter Smith > To: Andres Freund > Cc: PostgreSQL-development ; Amit Kapila > ; Markus Wanner > > Subject: Re: locking [user] catalog tables vs 2pc vs logical rep > > Hi. > > The attached PG docs patch about catalog deadlocks w

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-06-01 Thread Peter Smith
Hi. The attached PG docs patch about catalog deadlocks was previously implemented in another thread [1], but it seems more relevant to this one. PSA. -- [1] https://www.postgresql.org/message-id/CAA4eK1K%2BSeT31pxwL5iTvXq%3DJhZpG_cUJLFhiz-eD%2BJr-WAPeg%40mail.gmail.com Kind Regards, Peter

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-05-26 Thread Amit Kapila
On Wed, May 26, 2021 at 1:53 PM Petr Jelinek wrote: > > On 26 May 2021, at 05:04, Amit Kapila wrote: > > > > On Tue, May 25, 2021 at 12:40 PM Michael Paquier > > wrote: > >> > >> It seems to me that the 2PC issues on catalog tables and the issues > >> related to logical replication in

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-05-26 Thread vignesh C
On Tue, May 25, 2021 at 12:40 PM Michael Paquier wrote: > > On Mon, May 24, 2021 at 10:03:01AM +0530, Amit Kapila wrote: > > So, this appears to be an existing caveat of synchronous replication. > > If that is the case, I am not sure if it is a good idea to just block > > such ops for the

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-05-26 Thread Petr Jelinek
On 26 May 2021, at 05:04, Amit Kapila wrote: > > On Tue, May 25, 2021 at 12:40 PM Michael Paquier wrote: >> >> On Mon, May 24, 2021 at 10:03:01AM +0530, Amit Kapila wrote: >>> So, this appears to be an existing caveat of synchronous replication. >>> If that is the case, I am not sure if it is

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-05-25 Thread Tom Lane
Amit Kapila writes: > Fair enough. But the way we were looking at them as they will also > block (lead to deadlock) for logical replication of prepared > transactions and also logical replication in synchonous mode without > prepared transactions. Now, if we want to deal with the 2PC issues >

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-05-25 Thread Amit Kapila
On Tue, May 25, 2021 at 12:40 PM Michael Paquier wrote: > > On Mon, May 24, 2021 at 10:03:01AM +0530, Amit Kapila wrote: > > So, this appears to be an existing caveat of synchronous replication. > > If that is the case, I am not sure if it is a good idea to just block > > such ops for the

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-05-25 Thread Amit Kapila
On Tue, May 25, 2021 at 1:43 PM osumi.takami...@fujitsu.com wrote: > > On Monday, May 24, 2021 1:33 PM Amit Kapila wrote: > > On Tue, Apr 20, 2021 at 9:57 AM vignesh C wrote: > > > > > > This similar problem exists in case of synchronous replication setup > > > having synchronous_standby_names

RE: locking [user] catalog tables vs 2pc vs logical rep

2021-05-25 Thread osumi.takami...@fujitsu.com
On Monday, May 24, 2021 1:33 PM Amit Kapila wrote: > On Tue, Apr 20, 2021 at 9:57 AM vignesh C wrote: > > > > This similar problem exists in case of synchronous replication setup > > having synchronous_standby_names referring to the subscriber, when we > > do the steps "begin;lock pg_class;

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-05-25 Thread Michael Paquier
On Mon, May 24, 2021 at 10:03:01AM +0530, Amit Kapila wrote: > So, this appears to be an existing caveat of synchronous replication. > If that is the case, I am not sure if it is a good idea to just block > such ops for the prepared transaction. Also, what about other > operations which acquire an

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-05-23 Thread Michael Paquier
On Mon, Feb 22, 2021 at 02:28:47PM -0800, Andres Freund wrote: > Perhaps all that we need to do is to disallow 2PC prepare if [user] > catalog tables have been locked exclusively? Similar to how we're > disallowing preparing tables with temp table access. At least for anything involving critical

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-05-23 Thread Amit Kapila
On Tue, Apr 20, 2021 at 9:57 AM vignesh C wrote: > > This similar problem exists in case of synchronous replication setup > having synchronous_standby_names referring to the subscriber, when we > do the steps "begin;lock pg_class; insert into test1 values(10); > commit". In this case while

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-04-19 Thread vignesh C
On Wed, Mar 31, 2021 at 5:47 PM vignesh C wrote: > > On Wed, Mar 31, 2021 at 2:35 PM Ajin Cherian wrote: > > > > The patch applies fine on HEAD and "make check" passes fine. No major > > comments on the patch, just a minor comment: > > > > If you could change the error from, " cannot PREPARE a

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-03-31 Thread vignesh C
On Wed, Mar 31, 2021 at 2:35 PM Ajin Cherian wrote: > > The patch applies fine on HEAD and "make check" passes fine. No major > comments on the patch, just a minor comment: > > If you could change the error from, " cannot PREPARE a transaction that has a > lock on user catalog/system table(s)"

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-03-31 Thread Ajin Cherian
On Tue, Mar 16, 2021 at 1:36 AM vignesh C wrote: > On Tue, Feb 23, 2021 at 3:59 AM Andres Freund wrote: > > > > Hi, > > > > The 2pc decoding added in > > > > commit a271a1b50e9bec07e2ef3a05e38e7285113e4ce6 > > Author: Amit Kapila > > Date: 2021-01-04 08:34:50 +0530 > > > > Allow decoding

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-03-15 Thread vignesh C
On Tue, Feb 23, 2021 at 3:59 AM Andres Freund wrote: > > Hi, > > The 2pc decoding added in > > commit a271a1b50e9bec07e2ef3a05e38e7285113e4ce6 > Author: Amit Kapila > Date: 2021-01-04 08:34:50 +0530 > > Allow decoding at prepare time in ReorderBuffer. > > has a deadlock danger when used in

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-02-28 Thread Amit Kapila
On Tue, Feb 23, 2021 at 12:00 PM Amit Kapila wrote: > > On Tue, Feb 23, 2021 at 9:33 AM Andres Freund wrote: > > > > On 2021-02-23 09:24:18 +0530, Amit Kapila wrote: > > > Okay, so is it sufficient to add comments in code, or do we want to > > > add something in docs? I am not completely sure if

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-02-22 Thread Amit Kapila
On Tue, Feb 23, 2021 at 9:33 AM Andres Freund wrote: > > On 2021-02-23 09:24:18 +0530, Amit Kapila wrote: > > Okay, so is it sufficient to add comments in code, or do we want to > > add something in docs? I am not completely sure if we need to add in > > docs till we have core-implementation of

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-02-22 Thread Andres Freund
Hi On 2021-02-23 09:24:18 +0530, Amit Kapila wrote: > Okay, so is it sufficient to add comments in code, or do we want to > add something in docs? I am not completely sure if we need to add in > docs till we have core-implementation of prepare waiting to get > logically replicated. There's

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-02-22 Thread Amit Kapila
On Tue, Feb 23, 2021 at 9:09 AM Andres Freund wrote: > > On 2021-02-23 08:56:39 +0530, Amit Kapila wrote: > > On Tue, Feb 23, 2021 at 3:58 AM Andres Freund wrote: > > > Perhaps all that we need to do is to disallow 2PC prepare if [user] > > > catalog tables have been locked exclusively? > > >

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-02-22 Thread Andres Freund
Hi, On 2021-02-23 08:56:39 +0530, Amit Kapila wrote: > On Tue, Feb 23, 2021 at 3:58 AM Andres Freund wrote: > > Perhaps all that we need to do is to disallow 2PC prepare if [user] > > catalog tables have been locked exclusively? > Right, and we have discussed this during development [1][2]. I

Re: locking [user] catalog tables vs 2pc vs logical rep

2021-02-22 Thread Amit Kapila
On Tue, Feb 23, 2021 at 3:58 AM Andres Freund wrote: > > > At first this seems to be a significant issue. But on the other hand, if > you were to shut the cluster down in this situation (or disconnect all > sessions), you have broken cluster on your hand - without logical > decoding being