{"Entry":{"collection":"func","key":"pg-last-xlog-replay-location","name":"pg_last_xlog_replay_location","aliases":[],"metadata":{"changed_in":["9.4"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.0"},{"descriptions_changed":false,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":["pg_last_xlog_replay_location ( ) → pg_lsn"],"removed":["pg_last_xlog_replay_location ( ) → text"]},"status":"changed","to":"9.4"},{"descriptions_changed":false,"doc_overhaul":false,"from":"9.6","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"removed","to":"10"}],"content_hash":"c868a4248f9405711a0b95e1100cd694f92ec441f806194eeb12f4669b001a2f","first_version":"9.0","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.546825+08:00","last_version":"9.6","name":"pg_last_xlog_replay_location","name_key":"pg_last_xlog_replay_location","position":29053,"present_in":["9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"signature":"pg_last_xlog_replay_location ( ) → pg_lsn","signature_count":1,"slug":"pg-last-xlog-replay-location","source_rev":"b7bd9cda","summary":"Get last transaction log location replayed during recovery.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-last-xlog-replay-location","SourceDatabase":"center","Version":"9.6","SourceTable":"func","SourceKey":"pg-last-xlog-replay-location","SourceRevision":"b7bd9cda","Facts":{"description":"Get last transaction log location replayed during recovery. If recovery is still in progress this will increase monotonically. If recovery has completed then this value will remain static at the value of the last WAL record applied during that recovery. When the server has been started normally without recovery the function returns NULL.","description_html":"Get last transaction log location replayed during recovery. If recovery is still in progress this will increase monotonically. If recovery has completed then this value will remain static at the value of the last WAL record applied during that recovery. When the server has been started normally without recovery the function returns NULL.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-RECOVERY-INFO-TABLE","file":"functions-admin.html","slug":"9.6"},"group":"admin","group_label":"System Administration Functions","lang":"en","layout":"table-old","pages":["functions-admin.html"],"prose_only":false,"signatures":[{"description":"Get last transaction log location replayed during recovery. If recovery is still in progress this will increase monotonically. If recovery has completed then this value will remain static at the value of the last WAL record applied during that recovery. When the server has been started normally without recovery the function returns NULL.","description_html":"Get last transaction log location replayed during recovery. If recovery is still in progress this will increase monotonically. If recovery has completed then this value will remain static at the value of the last WAL record applied during that recovery. When the server has been started normally without recovery the function returns NULL.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_last_xlog_replay_location\u003c/code\u003e ( ) → \u003ccode class=\"returnvalue\"\u003epg_lsn\u003c/code\u003e","returns":"pg_lsn","text":"pg_last_xlog_replay_location ( ) → pg_lsn","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-RECOVERY-INFO-TABLE","file":"functions-admin.html","slug":"9.6"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-last-xlog-replay-location","SourceDatabase":"pgweb","Version":"9.6","Locale":"zh-Hans","Title":"pg_last_xlog_replay_location","Summary":"获取恢复期间最近重放的预写式日志位置。如果恢复仍在进行，该值单调增加。如果恢复已完成，该值将保持为该次恢复期间最后应用的 WAL 记录的位置。如果服务器未经恢复而正常启动，此函数返回 NULL。","BodyHTML":"获取恢复期间最近重放的预写式日志位置。如果恢复仍在进行，该值单调增加。如果恢复已完成，该值将保持为该次恢复期间最后应用的 WAL 记录的位置。如果服务器未经恢复而正常启动，此函数返回 NULL。\u003cpre\u003epg_last_xlog_replay_location ( ) → pg_lsn\u003c/pre\u003e获取恢复期间最近重放的预写式日志位置。如果恢复仍在进行，该值单调增加。如果恢复已完成，该值将保持为该次恢复期间最后应用的 WAL 记录的位置。如果服务器未经恢复而正常启动，此函数返回 NULL。","SourceRevision":"ca936764","ContentHash":"b1048e40e83931ff1f80a69b20740605b231b968a41476d79f0357db100132e0","Payload":{"description_zh":"获取恢复期间最近重放的预写式日志位置。如果恢复仍在进行，该值单调增加。如果恢复已完成，该值将保持为该次恢复期间最后应用的 WAL 记录的位置。如果服务器未经恢复而正常启动，此函数返回 NULL。","description_zh_html":"获取恢复期间最近重放的预写式日志位置。如果恢复仍在进行，该值单调增加。如果恢复已完成，该值将保持为该次恢复期间最后应用的 WAL 记录的位置。如果服务器未经恢复而正常启动，此函数返回 NULL。","signatures":[{"description_zh":"获取恢复期间最近重放的预写式日志位置。如果恢复仍在进行，该值单调增加。如果恢复已完成，该值将保持为该次恢复期间最后应用的 WAL 记录的位置。如果服务器未经恢复而正常启动，此函数返回 NULL。","description_zh_html":"获取恢复期间最近重放的预写式日志位置。如果恢复仍在进行，该值单调增加。如果恢复已完成，该值将保持为该次恢复期间最后应用的 WAL 记录的位置。如果服务器未经恢复而正常启动，此函数返回 NULL。","returns":"pg_lsn","text":"pg_last_xlog_replay_location ( ) → pg_lsn","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"9.6","Ordinal":0,"Hash":"f0fb40800fdfafb0539c24d2745610f28ed921d50008896fedb413f5928006d3","Text":"pg_last_xlog_replay_location ( ) → pg_lsn","Returns":"pg_lsn","Payload":{"description":"Get last transaction log location replayed during recovery. If recovery is still in progress this will increase monotonically. If recovery has completed then this value will remain static at the value of the last WAL record applied during that recovery. When the server has been started normally without recovery the function returns NULL.","description_html":"Get last transaction log location replayed during recovery. If recovery is still in progress this will increase monotonically. If recovery has completed then this value will remain static at the value of the last WAL record applied during that recovery. When the server has been started normally without recovery the function returns NULL.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_last_xlog_replay_location\u003c/code\u003e ( ) → \u003ccode class=\"returnvalue\"\u003epg_lsn\u003c/code\u003e","returns":"pg_lsn","text":"pg_last_xlog_replay_location ( ) → pg_lsn","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
