0001-Remove-stray-semicolon-at-global-scope.patch
text/plain
Filename: 0001-Remove-stray-semicolon-at-global-scope.patch
Type: text/plain
Part: 0
Message:
Re: Solaris compiler status
Patch
Format: format-patch
Series: patch 0001
Subject: Remove stray semicolon at global scope
| File | + | − |
|---|---|---|
| src/backend/replication/logical/slotsync.c | 1 | 1 |
From 99e0591b71034f2fd51ede22be7b6b072caf4812 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut <peter@eisentraut.org> Date: Wed, 3 Sep 2025 17:25:51 +0200 Subject: [PATCH 1/3] Remove stray semicolon at global scope The Sun Studio compiler complains about an empty declaration here. Note for future historians: This does not mean that this compiler is still of current interest for anyone using PostgreSQL. But we can let this small fix be its parting gift. Discussion: https://www.postgresql.org/message-id/flat/a0f817ee-fb86-483a-8a14-b6f7f5991b6e%40eisentraut.org --- src/backend/replication/logical/slotsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/replication/logical/slotsync.c b/src/backend/replication/logical/slotsync.c index 9d0072a49ed..8c061d55bdb 100644 --- a/src/backend/replication/logical/slotsync.c +++ b/src/backend/replication/logical/slotsync.c @@ -1337,7 +1337,7 @@ reset_syncing_flag() SpinLockRelease(&SlotSyncCtx->mutex); syncing_slots = false; -}; +} /* * The main loop of our worker process. base-commit: 01d6e5b2cf90737395344a8233cae5891c191357 -- 2.51.0