Remove extraneous break condition in logical slot advance function - Mailing list pgsql-hackers

From Bharath Rupireddy
Subject Remove extraneous break condition in logical slot advance function
Date
Msg-id CALj2ACWfGDLQ2cy7ZKwxnJqbDkO6Yvqqrqxne5ZN4HYm=PRTGg@mail.gmail.com
Whole thread Raw
Responses Re: Remove extraneous break condition in logical slot advance function
List pgsql-hackers
Hi,

There exists an extraneous break condition in
pg_logical_replication_slot_advance(). When the end of WAL or moveto
LSN is reached, the main while condition helps to exit the loop, so no
separate break condition is needed. Attached patch removes it.

Thoughts?

-- 
Bharath Rupireddy
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-hackers by date:

Previous
From: Erik Wienhold
Date:
Subject: Re: Fix output of zero privileges in psql
Next
From: Noah Misch
Date:
Subject: Re: post-recovery amcheck expectations