From: | Peter Smith <smithpb2250(at)gmail(dot)com> |
---|---|
To: | vignesh C <vignesh21(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] logical decoding of two-phase transactions |
Date: | 2021-03-09 03:44:41 |
Message-ID: | CAHut+PvPWFFk_j+7Uaf6UgU7gc3Y8J0WNJyBH9Ye-p0USXtThQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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.
If you want, maybe create it as a separate thread, Is it OK?
----
Kind Regards,
Peter Smith.
Fujitsu Australia
From | Date | Subject | |
---|---|---|---|
Next Message | bucoo@sohu.com | 2021-03-09 03:51:03 | Re: POC: converting Lists into arrays |
Previous Message | Erica Zhang | 2021-03-09 03:35:14 | Add some tests for pg_stat_statements compatibility verification under contrib |