Re: Simplify if/else logic of walsender CreateReplicationSlot

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Peter Smith <smithpb2250@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-11-21T04:57:28Z
Lists: pgsql-hackers
On Mon, Nov 20, 2023 at 05:07:38PM +0900, Michael Paquier wrote:
> Good idea.  What you are suggesting here improves the readability of
> this code, so +1.

And applied this one, thanks!
--
Michael

Commits

  1. Simplify some logic in CreateReplicationSlot()