Re: logical_replication_mode - Mailing list pgsql-hackers

From Peter Smith
Subject Re: logical_replication_mode
Date
Msg-id CAHut+PuhDGL4DOfXnkDoPqWMUkVXeJM8iYFfmAEqoAWdrNE59g@mail.gmail.com
Whole thread Raw
In response to RE: logical_replication_mode  ("Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>)
Responses Re: logical_replication_mode
RE: logical_replication_mode
List pgsql-hackers
Hi Hou-san.

I had a look at the patch 0001.

It looks OK to me, but here are a couple of comments:

======

1. Is this fix intended for PG16?

I found some mention of this GUC old name lurking in the release v16 notes [1].

~~~

2. DebugLogicalRepStreamingMode

-/* possible values for logical_replication_mode */
+/* possible values for debug_logical_replication_streaming */
 typedef enum
 {
- LOGICAL_REP_MODE_BUFFERED,
- LOGICAL_REP_MODE_IMMEDIATE
-} LogicalRepMode;
+ DEBUG_LOGICAL_REP_STREAMING_BUFFERED,
+ DEBUG_LOGICAL_REP_STREAMING_IMMEDIATE
+} DebugLogicalRepStreamingMode;

Shouldn't this typedef name be included in the typedef.list file?

------
[1] https://www.postgresql.org/docs/16/release-16.html

Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Jeevan Chalke
Date:
Subject: More new SQL/JSON item methods
Next
From: Michael Paquier
Date:
Subject: Re: Wrong usage of pqMsg_Close message code?