{"Entry":{"collection":"func","key":"pg-rotate-logfile","name":"pg_rotate_logfile","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.0","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.1"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"0e2dbd709f6b2a30d9503a365abe9dcbedec8970960054f2ecb00b3a7b9a215a","first_version":"8.1","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.656186+08:00","last_version":"20","name":"pg_rotate_logfile","name_key":"pg_rotate_logfile","position":29095,"present_in":["8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"pg_rotate_logfile () → boolean","signature_count":1,"slug":"pg-rotate-logfile","source_rev":"b7bd9cda","summary":"Signals the log-file manager to switch to a new output file immediately.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-rotate-logfile","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-rotate-logfile","SourceRevision":"b7bd9cda","Facts":{"description":"Signals the log-file manager to switch to a new output file immediately. This works only when the built-in log collector is running, since otherwise there is no log-file manager subprocess.","description_html":"Signals the log-file manager to switch to a new output file immediately. This works only when the built-in log collector is running, since otherwise there is no log-file manager subprocess.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-ADMIN-SIGNAL-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":"Signals the log-file manager to switch to a new output file immediately. This works only when the built-in log collector is running, since otherwise there is no log-file manager subprocess.","description_html":"Signals the log-file manager to switch to a new output file immediately. This works only when the built-in log collector is running, since otherwise there is no log-file manager subprocess.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_rotate_logfile\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_rotate_logfile () → boolean","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ADMIN-SIGNAL-TABLE","file":"functions-admin.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-rotate-logfile","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_rotate_logfile","Summary":"通知日志文件管理器立即切换到一个新的输出文件。这仅在内置日志收集器运行时有效，因为否则没有日志文件管理器子进程。","BodyHTML":"通知日志文件管理器立即切换到一个新的输出文件。这仅在内置日志收集器运行时有效，因为否则没有日志文件管理器子进程。\u003cpre\u003epg_rotate_logfile () → boolean\u003c/pre\u003e通知日志文件管理器立即切换到一个新的输出文件。这仅在内置日志收集器运行时有效，因为否则没有日志文件管理器子进程。","SourceRevision":"ca936764","ContentHash":"1b7debdd941a062404e3b786d8cee72e7afe47909c4084afdf8efb7aa41e8d53","Payload":{"description_zh":"通知日志文件管理器立即切换到一个新的输出文件。这仅在内置日志收集器运行时有效，因为否则没有日志文件管理器子进程。","description_zh_html":"通知日志文件管理器立即切换到一个新的输出文件。这仅在内置日志收集器运行时有效，因为否则没有日志文件管理器子进程。","signatures":[{"description_zh":"通知日志文件管理器立即切换到一个新的输出文件。这仅在内置日志收集器运行时有效，因为否则没有日志文件管理器子进程。","description_zh_html":"通知日志文件管理器立即切换到一个新的输出文件。这仅在内置日志收集器运行时有效，因为否则没有日志文件管理器子进程。","returns":"boolean","text":"pg_rotate_logfile () → boolean","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"22dbc31d409cbc92c92e90761ae5c5337577ce0b52de9e111cab1ac7d59fa9ca","Text":"pg_rotate_logfile () → boolean","Returns":"boolean","Payload":{"description":"Signals the log-file manager to switch to a new output file immediately. This works only when the built-in log collector is running, since otherwise there is no log-file manager subprocess.","description_html":"Signals the log-file manager to switch to a new output file immediately. This works only when the built-in log collector is running, since otherwise there is no log-file manager subprocess.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_rotate_logfile\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"pg_rotate_logfile () → boolean","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
