Decoding of two-phase xacts missing from CREATE_REPLICATION_SLOT command - Mailing list pgsql-hackers

From Jeff Davis
Subject Decoding of two-phase xacts missing from CREATE_REPLICATION_SLOT command
Date
Msg-id 64b9f783c6e125f18f88fbc0c0234e34e71d8639.camel@j-davis.com
Whole thread Raw
Responses Re: Decoding of two-phase xacts missing from CREATE_REPLICATION_SLOT command
List pgsql-hackers
Commit 19890a064 changed pg_create_logical_replication_slot() to allow
decoding of two-phase transactions, but did not extend the
CREATE_REPLICATION_SLOT command to support it. Strangely, it does
extend the CreateReplicationSlotCmd struct to add a "two_phase" field,
but doesn't set it anywhere.

There were patches[1] from around the time of the commit to support
CREATE_REPLICATION_SLOT as well.

Is there a reason to support two-phase decoding, but not with the
replication protocol? If so, why change the CreateReplicationSlotCmd
structure as though we will support it?

Regards,
    Jeff Davis

[1] 
https://www.postgresql.org/message-id/CAFPTHDZ2rigOf0oM0OBhv1yRmyMO5-SQfT9FCLYj-Jp9ShXB3A@mail.gmail.com





pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Performance degradation of REFRESH MATERIALIZED VIEW
Next
From: Amit Langote
Date:
Subject: Re: parent foreign tables and row marks