On Wed, Jul 5, 2023 at 2:29 PM Amit Kapila <amit.kapil...@gmail.com> wrote: > > On Wed, Jul 5, 2023 at 2:28 PM Amit Kapila <amit.kapil...@gmail.com> wrote: > > > > On Mon, Jul 3, 2023 at 4:49 PM vignesh C <vignes...@gmail.com> wrote: > > > > > > +1 for the first version patch, I also felt the first version is > > > easily understandable. > > > > > > > Okay, please find the slightly updated version (changed a comment and > > commit message). Unless there are more comments, I'll push this in a > > day or two. > > > > oops, forgot to attach the patch.
I still think that we need to do something so that a new call to pg_output_begin() automatically takes care of the conditions under which it should be called. Otherwise, we will introduce a similar problem in some other place in future. -- Best Wishes, Ashutosh Bapat