Remove extraneous break condition in logical slot advance function
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-10-21T02:30:00Z
Lists: pgsql-hackers
Attachments
- v1-0001-Remove-extraneous-break-condition-in-logical-slot.patch (application/octet-stream) patch v1-0001
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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Remove unnecessary break in pg_logical_replication_slot_advance()
- b6f1cca9ba3d 17.0 landed