From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
---|---|
To: | Peter Smith <smithpb2250(at)gmail(dot)com> |
Cc: | vignesh C <vignesh21(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] logical decoding of two-phase transactions |
Date: | 2021-03-09 04:44:16 |
Message-ID: | CAA4eK1JOoFLubusZqQ7B_rVnhgbZ27hwL3ZChJz_ep61+cxpHA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Mar 9, 2021 at 9:15 AM Peter Smith <smithpb2250(at)gmail(dot)com> wrote:
>
> On Mon, Mar 8, 2021 at 4:58 PM vignesh C <vignesh21(at)gmail(dot)com> wrote:
> >
> > LOGICAL_REP_MSG_TYPE = 'Y',
> > + LOGICAL_REP_MSG_BEGIN_PREPARE = 'b',
> > + LOGICAL_REP_MSG_PREPARE = 'P',
> > + LOGICAL_REP_MSG_COMMIT_PREPARED = 'K',
> > + LOGICAL_REP_MSG_ROLLBACK_PREPARED = 'r',
> > LOGICAL_REP_MSG_STREAM_START = 'S',
> > LOGICAL_REP_MSG_STREAM_END = 'E',
> > LOGICAL_REP_MSG_STREAM_COMMIT = 'c',
> > - LOGICAL_REP_MSG_STREAM_ABORT = 'A'
> > + LOGICAL_REP_MSG_STREAM_ABORT = 'A',
> > + LOGICAL_REP_MSG_STREAM_PREPARE = 'p'
> > } LogicalRepMsgType;
> > As we start adding more and more features, we will have to start
> > adding more message types, using meaningful characters might become
> > difficult. Should we start using numeric instead for the new feature
> > getting added?
>
> This may or may not become a problem sometime in the future, but I
> think the feedback is not really specific to the current patch set so
> I am skipping it at this time.
>
+1.
--
With Regards,
Amit Kapila.
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Smith | 2021-03-09 05:15:59 | Re: [HACKERS] logical decoding of two-phase transactions |
Previous Message | vignesh C | 2021-03-09 04:21:50 | Re: [HACKERS] logical decoding of two-phase transactions |