On Tue, Feb 23, 2021 at 9:09 AM Andres Freund <and...@anarazel.de> wrote: > > On 2021-02-23 08:56:39 +0530, Amit Kapila wrote: > > On Tue, Feb 23, 2021 at 3:58 AM Andres Freund <and...@anarazel.de> 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 remember bringing it up before as well... Issues like this really need > to be mentioned as explicit caveats at least somewhere in the code and > commit message. >
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. -- With Regards, Amit Kapila.