Skip to content

Commit 0b5e824

Browse files
committed
Message improvement
The previous wording contained a superfluous comma. Adjust phrasing for grammatical correctness and clarity.
1 parent 4c0239c commit 0b5e824

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contrib/test_decoding/expected/slot.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ SELECT pg_replication_slot_advance('regression_slot3', '0/0'); -- invalid LSN
144144
ERROR: invalid target WAL LSN
145145
SELECT pg_replication_slot_advance('regression_slot3', '0/1'); -- error
146146
ERROR: replication slot "regression_slot3" cannot be advanced
147-
DETAIL: This slot has never previously reserved WAL, or has been invalidated.
147+
DETAIL: This slot has never previously reserved WAL, or it has been invalidated.
148148
SELECT pg_drop_replication_slot('regression_slot3');
149149
pg_drop_replication_slot
150150
--------------------------

src/backend/replication/logical/logicalfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ pg_logical_slot_get_changes_guts(FunctionCallInfo fcinfo, bool confirm, bool bin
250250
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
251251
errmsg("can no longer get changes from replication slot \"%s\"",
252252
NameStr(*name)),
253-
errdetail("This slot has never previously reserved WAL, or has been invalidated.")));
253+
errdetail("This slot has never previously reserved WAL, or it has been invalidated.")));
254254

255255
MemoryContextSwitchTo(oldcontext);
256256

src/backend/replication/slotfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ pg_replication_slot_advance(PG_FUNCTION_ARGS)
647647
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
648648
errmsg("replication slot \"%s\" cannot be advanced",
649649
NameStr(*slotname)),
650-
errdetail("This slot has never previously reserved WAL, or has been invalidated.")));
650+
errdetail("This slot has never previously reserved WAL, or it has been invalidated.")));
651651

652652
/*
653653
* Check if the slot is not moving backwards. Physical slots rely simply

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy