Re: Simplify some logical replication worker type checking - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Simplify some logical replication worker type checking
Date
Msg-id 20230801064046.3jpxf5vivmwry4um@alvherre.pgsql
Whole thread Raw
In response to Simplify some logical replication worker type checking  (Peter Smith <smithpb2250@gmail.com>)
Responses Re: Simplify some logical replication worker type checking
List pgsql-hackers
On 2023-Aug-01, Peter Smith wrote:

> PSA a small patch making those above-suggested changes. The 'make
> check' and TAP subscription tests are all passing OK.

I think the code ends up more readable with this style of changes, so
+1.  I do wonder if these calls should appear in a proc_exit callback or
some such instead, though.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"No tengo por qué estar de acuerdo con lo que pienso"
                             (Carlos Caszeli)



pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: Fix compilation warnings when CFLAGS -Og is specified