Re: Proposal: Generic WAL logical messages - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: Proposal: Generic WAL logical messages
Date
Msg-id CAPpHfdvvU26DDNfakrM6GuT73=qPuhVQG5u=fa4K5dn__EpkJg@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: Generic WAL logical messages  (Petr Jelinek <petr@2ndquadrant.com>)
Responses Re: Proposal: Generic WAL logical messages  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Hi, Petr!

On Sat, Jan 23, 2016 at 1:22 AM, Petr Jelinek <petr@2ndquadrant.com> wrote:
here is updated version of this patch, calling the messages logical (decoding) messages consistently everywhere and removing any connection to standby messages. Moving this to it's own module gave me place to write some brief explanation about this so the code documentation has hopefully improved as well.

The functionality itself didn't change.

I'd like to mention that there is my upcoming patch which is named generic WAL records.
But it has to be distinct feature from your generic WAL logical messages. Theoretically, we could have generic messages with arbitrary content and both having custom WAL reply function and being decoded by output plugin. But custom WAL reply function would let extension bug break recovery, archiving and physical replication. And that doesn't seem to be acceptable. This is why we have to develop these as separate features.

Should we think more about naming? Does two kinds of generic records confuse people?

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
 

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Sequence Access Method WIP
Next
From: Pavel Stehule
Date:
Subject: Re: [PATCH] better systemd integration