{"Entry":{"collection":"func","key":"pg-logical-slot-peek-changes","name":"pg_logical_slot_peek_changes","aliases":[],"metadata":{"changed_in":["10"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.4"},{"descriptions_changed":false,"doc_overhaul":false,"from":"9.6","group_changed":null,"signatures":{"added":["pg_logical_slot_peek_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges int, VARIADIC options text[] ) → (lsn pg_lsn, xid xid, data text)"],"removed":["pg_logical_slot_peek_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges int, VARIADIC options text[] ) → (location text, xid xid, data text)"]},"status":"changed","to":"10"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"db2a8c1e83c6b779cbeef1e7bab6eb31f964b4f730c6b94649a01126d2fe3029","first_version":"9.4","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.567657+08:00","last_version":"20","name":"pg_logical_slot_peek_changes","name_key":"pg_logical_slot_peek_changes","position":29060,"present_in":["9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"pg_logical_slot_peek_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges integer, VARIADIC options text[] ) → setof record ( lsn pg_lsn, xid xid, data text )","signature_count":1,"slug":"pg-logical-slot-peek-changes","source_rev":"b7bd9cda","summary":"Behaves just like the pg_logical_slot_get_changes() function, except that changes are not consumed; that is, they will be returned again on future calls.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-logical-slot-peek-changes","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-logical-slot-peek-changes","SourceRevision":"b7bd9cda","Facts":{"description":"Behaves just like the pg_logical_slot_get_changes() function, except that changes are not consumed; that is, they will be returned again on future calls.","description_html":"Behaves just like the \u003ccode class=\"function\"\u003epg_logical_slot_get_changes()\u003c/code\u003e function, except that changes are not consumed; that is, they will be returned again on future calls.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-REPLICATION-TABLE","file":"functions-admin.html","slug":"18"},"group":"admin","group_label":"System Administration Functions","lang":"en","layout":"table-new","pages":["functions-admin.html"],"prose_only":false,"signatures":[{"description":"Behaves just like the pg_logical_slot_get_changes() function, except that changes are not consumed; that is, they will be returned again on future calls.","description_html":"Behaves just like the \u003ccode class=\"function\"\u003epg_logical_slot_get_changes()\u003c/code\u003e function, except that changes are not consumed; that is, they will be returned again on future calls.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_logical_slot_peek_changes\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eslot_name\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ename\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eupto_lsn\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eupto_nchanges\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e, \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003eoptions\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003elsn\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003exid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003exid\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003edata\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"pg_logical_slot_peek_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges integer, VARIADIC options text[] ) → setof record ( lsn pg_lsn, xid xid, data text )","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-REPLICATION-TABLE","file":"functions-admin.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-logical-slot-peek-changes","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_logical_slot_peek_changes","Summary":"行为就像pg_logical_slot_get_changes()函数，不过改变不会被消费，即在未来的调用中还会返回这些改变。","BodyHTML":"行为就像\u003ccode\u003epg_logical_slot_get_changes()\u003c/code\u003e函数，不过改变不会被消费，即在未来的调用中还会返回这些改变。\u003cpre\u003epg_logical_slot_peek_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges integer, VARIADIC options text[] ) → setof record ( lsn pg_lsn, xid xid, data text )\u003c/pre\u003e行为就像\u003ccode\u003epg_logical_slot_get_changes()\u003c/code\u003e函数，不过改变不会被消费，即在未来的调用中还会返回这些改变。","SourceRevision":"ca936764","ContentHash":"e145abdf79363dfd20b14f738fca9526e7bc8610ad82a4d11ab2f2ab77f080d0","Payload":{"description_zh":"行为就像pg_logical_slot_get_changes()函数，不过改变不会被消费，即在未来的调用中还会返回这些改变。","description_zh_html":"行为就像\u003ccode class=\"function\"\u003epg_logical_slot_get_changes()\u003c/code\u003e函数，不过改变不会被消费，即在未来的调用中还会返回这些改变。","signatures":[{"description_zh":"行为就像pg_logical_slot_get_changes()函数，不过改变不会被消费，即在未来的调用中还会返回这些改变。","description_zh_html":"行为就像\u003ccode class=\"function\"\u003epg_logical_slot_get_changes()\u003c/code\u003e函数，不过改变不会被消费，即在未来的调用中还会返回这些改变。","returns":"setof record","text":"pg_logical_slot_peek_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges integer, VARIADIC options text[] ) → setof record ( lsn pg_lsn, xid xid, data text )","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"34ea08f61e7b0d332ba72bcd3388440d618cdf7555651e8c9fbbba612654f5aa","Text":"pg_logical_slot_peek_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges integer, VARIADIC options text[] ) → setof record ( lsn pg_lsn, xid xid, data text )","Returns":"setof record","Payload":{"description":"Behaves just like the pg_logical_slot_get_changes() function, except that changes are not consumed; that is, they will be returned again on future calls.","description_html":"Behaves just like the \u003ccode class=\"function\"\u003epg_logical_slot_get_changes()\u003c/code\u003e function, except that changes are not consumed; that is, they will be returned again on future calls.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_logical_slot_peek_changes\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eslot_name\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ename\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eupto_lsn\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003eupto_nchanges\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e, \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003eoptions\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003elsn\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003epg_lsn\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003exid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003exid\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003edata\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"pg_logical_slot_peek_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges integer, VARIADIC options text[] ) → setof record ( lsn pg_lsn, xid xid, data text )","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
