Re: Simplify if/else logic of walsender CreateReplicationSlot

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Simplify if/else logic of walsender CreateReplicationSlot
Date: 2023-11-21 04:57:28
Message-ID: ZVw4uLN9RLvfTUHW@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2023-11-21 04:58:40 Re: Do away with a few backwards compatibility macros
Previous Message Nathan Bossart 2023-11-21 04:50:15 Re: simplehash: SH_OPTIMIZE_REPEAT for optimizing repeated lookups of the same key