{"Entry":{"collection":"func","key":"pg-backup-stop","name":"pg_backup_stop","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"14","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"15"}],"content_hash":"d3618040c022167b7e9a972fbc00ee0c2598be1e2631975bf58498ff033946eb","first_version":"15","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.44589+08:00","last_version":"20","name":"pg_backup_stop","name_key":"pg_backup_stop","position":29014,"present_in":["15","16","17","18","19","20"],"signature":"pg_backup_stop ( [wait_for_archive boolean ] ) → record ( lsn pg_lsn, labelfile text, spcmapfile text )","signature_count":1,"slug":"pg-backup-stop","source_rev":"b7bd9cda","summary":"Finishes performing an on-line backup.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-backup-stop","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-backup-stop","SourceRevision":"b7bd9cda","Facts":{"description":"Finishes performing an on-line backup. The desired contents of the backup label file and the tablespace map file are returned as part of the result of the function and must be written to files in the backup area. These files must not be written to the live data directory (doing so will cause PostgreSQL to fail to restart in the event of a crash).","description_html":"Finishes performing an on-line backup. The desired contents of the backup label file and the tablespace map file are returned as part of the result of the function and must be written to files in the backup area. These files must not be written to the live data directory (doing so will cause PostgreSQL to fail to restart in the event of a crash).","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-ADMIN-BACKUP-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":"Finishes performing an on-line backup. The desired contents of the backup label file and the tablespace map file are returned as part of the result of the function and must be written to files in the backup area. These files must not be written to the live data directory (doing so will cause PostgreSQL to fail to restart in the event of a crash).","description_html":"Finishes performing an on-line backup. The desired contents of the backup label file and the tablespace map file are returned as part of the result of the function and must be written to files in the backup area. These files must not be written to the live data directory (doing so will cause PostgreSQL to fail to restart in the event of a crash).","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_backup_stop\u003c/code\u003e ( [\u003cspan class=\"optional\"\u003e\u003cem class=\"parameter\"\u003e\u003ccode\u003ewait_for_archive\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e\u003c/span\u003e ] ) → \u003ccode class=\"returnvalue\"\u003erecord\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\u003elabelfile\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003espcmapfile\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"record","text":"pg_backup_stop ( [wait_for_archive boolean ] ) → record ( lsn pg_lsn, labelfile text, spcmapfile text )","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ADMIN-BACKUP-TABLE","file":"functions-admin.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-backup-stop","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_backup_stop","Summary":"结束在线备份。备份标签文件和表空间映射文件所需的内容作为函数结果的一部分返回，必须将其写入备份区域中的文件。切勿将这些文件写入正在使用的数据目录（否则发生崩溃后 PostgreSQL 将无法重新启动）。","BodyHTML":"结束在线备份。备份标签文件和表空间映射文件所需的内容作为函数结果的一部分返回，必须将其写入备份区域中的文件。切勿将这些文件写入正在使用的数据目录（否则发生崩溃后 PostgreSQL 将无法重新启动）。\u003cpre\u003epg_backup_stop ( [wait_for_archive boolean ] ) → record ( lsn pg_lsn, labelfile text, spcmapfile text )\u003c/pre\u003e结束在线备份。备份标签文件和表空间映射文件所需的内容作为函数结果的一部分返回，必须将其写入备份区域中的文件。切勿将这些文件写入正在使用的数据目录（否则发生崩溃后 PostgreSQL 将无法重新启动）。","SourceRevision":"1b5ca64c","ContentHash":"fdc6b9696869904065ccefd6e1732bfe137600a5c6e8c76c57065e890e91ba0f","Payload":{"description_zh":"结束在线备份。备份标签文件和表空间映射文件所需的内容作为函数结果的一部分返回，必须将其写入备份区域中的文件。切勿将这些文件写入正在使用的数据目录（否则发生崩溃后 PostgreSQL 将无法重新启动）。","description_zh_html":"结束在线备份。备份标签文件和表空间映射文件所需的内容作为函数结果的一部分返回，必须将其写入备份区域中的文件。切勿将这些文件写入正在使用的数据目录（否则发生崩溃后 PostgreSQL 将无法重新启动）。","signatures":[{"description_zh":"结束在线备份。备份标签文件和表空间映射文件所需的内容作为函数结果的一部分返回，必须将其写入备份区域中的文件。切勿将这些文件写入正在使用的数据目录（否则发生崩溃后 PostgreSQL 将无法重新启动）。","description_zh_html":"结束在线备份。备份标签文件和表空间映射文件所需的内容作为函数结果的一部分返回，必须将其写入备份区域中的文件。切勿将这些文件写入正在使用的数据目录（否则发生崩溃后 PostgreSQL 将无法重新启动）。","returns":"record","text":"pg_backup_stop ( [wait_for_archive boolean ] ) → record ( lsn pg_lsn, labelfile text, spcmapfile text )","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"580b0de5430bb5d827c2a604e6c9beddb120dbe1e2aaac98b399143b58e364e4","Text":"pg_backup_stop ( [wait_for_archive boolean ] ) → record ( lsn pg_lsn, labelfile text, spcmapfile text )","Returns":"record","Payload":{"description":"Finishes performing an on-line backup. The desired contents of the backup label file and the tablespace map file are returned as part of the result of the function and must be written to files in the backup area. These files must not be written to the live data directory (doing so will cause PostgreSQL to fail to restart in the event of a crash).","description_html":"Finishes performing an on-line backup. The desired contents of the backup label file and the tablespace map file are returned as part of the result of the function and must be written to files in the backup area. These files must not be written to the live data directory (doing so will cause PostgreSQL to fail to restart in the event of a crash).","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_backup_stop\u003c/code\u003e ( [\u003cspan class=\"optional\"\u003e\u003cem class=\"parameter\"\u003e\u003ccode\u003ewait_for_archive\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e\u003c/span\u003e ] ) → \u003ccode class=\"returnvalue\"\u003erecord\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\u003elabelfile\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003espcmapfile\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"record","text":"pg_backup_stop ( [wait_for_archive boolean ] ) → record ( lsn pg_lsn, labelfile text, spcmapfile text )","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
