Skip to content

Commit 61e48ef

Browse files
committed
Reword the sentence for pg_logical_slot_peek_changes function.
Previously the duplicated paragraphs were used next to each other in the document to demonstrate that the changes in the stream were not consumed by pg_logical_slot_peek_changes function. But some users misunderstood that the duplication of the same paragraph was just typo. So this commit rewords the sentence in the latter paragraph for less confusing. Christoph Moench-Tegeder
1 parent 248fc1f commit 61e48ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/logicaldecoding.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ postgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, N
114114
0/16E0B90 | 690 | COMMIT 690
115115
(3 rows)
116116

117-
postgres=# -- You can also peek ahead in the change stream without consuming changes
117+
postgres=# -- The next call to pg_logical_slot_peek_changes() returns the same changes again
118118
postgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, NULL);
119119
location | xid | data
120120
-----------+-----+-----------------------------------------------

0 commit comments

Comments
 (0)