{"Entry":{"collection":"func","key":"pg-wal-replay-pause","name":"pg_wal_replay_pause","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.6","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"10"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":true,"doc_overhaul":false,"from":"13","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"14"}],"content_hash":"3e71dfb7a26479ece52d977f5880920881a534888d4d336cab207188fa6efd8c","first_version":"10","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.709265+08:00","last_version":"20","name":"pg_wal_replay_pause","name_key":"pg_wal_replay_pause","position":29114,"present_in":["10","11","12","13","14","15","16","17","18","19","20"],"signature":"pg_wal_replay_pause () → void","signature_count":1,"slug":"pg-wal-replay-pause","source_rev":"b7bd9cda","summary":"Request to pause recovery.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-wal-replay-pause","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-wal-replay-pause","SourceRevision":"b7bd9cda","Facts":{"description":"Request to pause recovery. A request doesn't mean that recovery stops right away. If you want a guarantee that recovery is actually paused, you need to check for the recovery pause state returned by pg_get_wal_replay_pause_state(). Note that pg_is_wal_replay_paused() returns whether a request is made. While recovery is paused, no further database changes are applied. If hot standby is active, all new queries will see the same consistent snapshot of the database, and no further query conflicts will be generated until recovery is resumed.","description_html":"Request to pause recovery. A request doesn't mean that recovery stops right away. If you want a guarantee that recovery is actually paused, you need to check for the recovery pause state returned by \u003ccode class=\"function\"\u003epg_get_wal_replay_pause_state()\u003c/code\u003e. Note that \u003ccode class=\"function\"\u003epg_is_wal_replay_paused()\u003c/code\u003e returns whether a request is made. While recovery is paused, no further database changes are applied. If hot standby is active, all new queries will see the same consistent snapshot of the database, and no further query conflicts will be generated until recovery is resumed.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-RECOVERY-CONTROL-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":"Request to pause recovery. A request doesn't mean that recovery stops right away. If you want a guarantee that recovery is actually paused, you need to check for the recovery pause state returned by pg_get_wal_replay_pause_state(). Note that pg_is_wal_replay_paused() returns whether a request is made. While recovery is paused, no further database changes are applied. If hot standby is active, all new queries will see the same consistent snapshot of the database, and no further query conflicts will be generated until recovery is resumed.","description_html":"Request to pause recovery. A request doesn't mean that recovery stops right away. If you want a guarantee that recovery is actually paused, you need to check for the recovery pause state returned by \u003ccode class=\"function\"\u003epg_get_wal_replay_pause_state()\u003c/code\u003e. Note that \u003ccode class=\"function\"\u003epg_is_wal_replay_paused()\u003c/code\u003e returns whether a request is made. While recovery is paused, no further database changes are applied. If hot standby is active, all new queries will see the same consistent snapshot of the database, and no further query conflicts will be generated until recovery is resumed.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_wal_replay_pause\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003evoid\u003c/code\u003e","returns":"void","text":"pg_wal_replay_pause () → void","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-RECOVERY-CONTROL-TABLE","file":"functions-admin.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-wal-replay-pause","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_wal_replay_pause","Summary":"请求暂停恢复。请求不意味着恢复马上停止。如果你想要保证恢复实际上是暂停的，你需要检查pg_get_wal_replay_pause_state()返回的恢复暂停状态。注意，pg_is_wal_replay_paused()返回是否作出请求。在恢复暂停时，不会应用进一步的数据库更改。如果热备是激活的，所有新查询将看到相同的一致的数据库快照，并且在恢复继续之前不会生成进一步的查询冲突。","BodyHTML":"请求暂停恢复。请求不意味着恢复马上停止。如果你想要保证恢复实际上是暂停的，你需要检查\u003ccode\u003epg_get_wal_replay_pause_state()\u003c/code\u003e返回的恢复暂停状态。注意，\u003ccode\u003epg_is_wal_replay_paused()\u003c/code\u003e返回是否作出请求。在恢复暂停时，不会应用进一步的数据库更改。如果热备是激活的，所有新查询将看到相同的一致的数据库快照，并且在恢复继续之前不会生成进一步的查询冲突。\u003cpre\u003epg_wal_replay_pause () → void\u003c/pre\u003e请求暂停恢复。请求不意味着恢复马上停止。如果你想要保证恢复实际上是暂停的，你需要检查\u003ccode\u003epg_get_wal_replay_pause_state()\u003c/code\u003e返回的恢复暂停状态。注意，\u003ccode\u003epg_is_wal_replay_paused()\u003c/code\u003e返回是否作出请求。在恢复暂停时，不会应用进一步的数据库更改。如果热备是激活的，所有新查询将看到相同的一致的数据库快照，并且在恢复继续之前不会生成进一步的查询冲突。","SourceRevision":"ca936764","ContentHash":"1319de5e00577ed08bd6a94506e3851d26dbf800abfdd010f929abce03ba4a80","Payload":{"description_zh":"请求暂停恢复。请求不意味着恢复马上停止。如果你想要保证恢复实际上是暂停的，你需要检查pg_get_wal_replay_pause_state()返回的恢复暂停状态。注意，pg_is_wal_replay_paused()返回是否作出请求。在恢复暂停时，不会应用进一步的数据库更改。如果热备是激活的，所有新查询将看到相同的一致的数据库快照，并且在恢复继续之前不会生成进一步的查询冲突。","description_zh_html":"请求暂停恢复。请求不意味着恢复马上停止。如果你想要保证恢复实际上是暂停的，你需要检查\u003ccode class=\"function\"\u003epg_get_wal_replay_pause_state()\u003c/code\u003e返回的恢复暂停状态。注意，\u003ccode class=\"function\"\u003epg_is_wal_replay_paused()\u003c/code\u003e返回是否作出请求。在恢复暂停时，不会应用进一步的数据库更改。如果热备是激活的，所有新查询将看到相同的一致的数据库快照，并且在恢复继续之前不会生成进一步的查询冲突。","signatures":[{"description_zh":"请求暂停恢复。请求不意味着恢复马上停止。如果你想要保证恢复实际上是暂停的，你需要检查pg_get_wal_replay_pause_state()返回的恢复暂停状态。注意，pg_is_wal_replay_paused()返回是否作出请求。在恢复暂停时，不会应用进一步的数据库更改。如果热备是激活的，所有新查询将看到相同的一致的数据库快照，并且在恢复继续之前不会生成进一步的查询冲突。","description_zh_html":"请求暂停恢复。请求不意味着恢复马上停止。如果你想要保证恢复实际上是暂停的，你需要检查\u003ccode class=\"function\"\u003epg_get_wal_replay_pause_state()\u003c/code\u003e返回的恢复暂停状态。注意，\u003ccode class=\"function\"\u003epg_is_wal_replay_paused()\u003c/code\u003e返回是否作出请求。在恢复暂停时，不会应用进一步的数据库更改。如果热备是激活的，所有新查询将看到相同的一致的数据库快照，并且在恢复继续之前不会生成进一步的查询冲突。","returns":"void","text":"pg_wal_replay_pause () → void","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"2c7c38e5092cd074456dcf8a24bd3c9062bc0e900c37d6c513a089bfc610a213","Text":"pg_wal_replay_pause () → void","Returns":"void","Payload":{"description":"Request to pause recovery. A request doesn't mean that recovery stops right away. If you want a guarantee that recovery is actually paused, you need to check for the recovery pause state returned by pg_get_wal_replay_pause_state(). Note that pg_is_wal_replay_paused() returns whether a request is made. While recovery is paused, no further database changes are applied. If hot standby is active, all new queries will see the same consistent snapshot of the database, and no further query conflicts will be generated until recovery is resumed.","description_html":"Request to pause recovery. A request doesn't mean that recovery stops right away. If you want a guarantee that recovery is actually paused, you need to check for the recovery pause state returned by \u003ccode class=\"function\"\u003epg_get_wal_replay_pause_state()\u003c/code\u003e. Note that \u003ccode class=\"function\"\u003epg_is_wal_replay_paused()\u003c/code\u003e returns whether a request is made. While recovery is paused, no further database changes are applied. If hot standby is active, all new queries will see the same consistent snapshot of the database, and no further query conflicts will be generated until recovery is resumed.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_wal_replay_pause\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003evoid\u003c/code\u003e","returns":"void","text":"pg_wal_replay_pause () → void","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
