aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-07-29 12:07:54 +0900
committerFujii Masao <fujii@postgresql.org>2014-07-29 12:07:54 +0900
commit61e48efba579682f75332688bdb89f9eee24fb63 (patch)
tree7f6abf1db004be22dcd090dd093729db3cdce7b0
parent248fc1f10716964b7e7d0f8ada686801d1e36445 (diff)
downloadpostgresql-61e48efba579682f75332688bdb89f9eee24fb63.tar.gz
postgresql-61e48efba579682f75332688bdb89f9eee24fb63.zip
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
-rw-r--r--doc/src/sgml/logicaldecoding.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/logicaldecoding.sgml b/doc/src/sgml/logicaldecoding.sgml
index 35928824110..e6880d0ac58 100644
--- a/doc/src/sgml/logicaldecoding.sgml
+++ b/doc/src/sgml/logicaldecoding.sgml
@@ -114,7 +114,7 @@ postgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, N
0/16E0B90 | 690 | COMMIT 690
(3 rows)
-postgres=# -- You can also peek ahead in the change stream without consuming changes
+postgres=# -- The next call to pg_logical_slot_peek_changes() returns the same changes again
postgres=# SELECT * FROM pg_logical_slot_peek_changes('regression_slot', NULL, NULL);
location | xid | data
-----------+-----+-----------------------------------------------