{"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","derived_content_hash":"02d5c055a93510681d660af5b2f56abd411d9d3277c4d8bceec84d4273a24bbd","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:75921f87971d28bc8a23d8fee8841138b0e5aa2f8b1d136febc16f66d85c2f3f","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"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"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:999ed3c5147f11f2192336a7b52881d1bd7da1841b758df5da3055c720d28d7b","receipt_sha256":"a9d856ee3f2cb1228d977b6b906bc7a7dd28f387afbc8b8bd163a43c4199c573","repair":"wiki-repair-20261023"},"signature":"pg_rotate_logfile () → boolean","signature_count":1,"slug":"pg-rotate-logfile","source_rev":"wiki-repair-20261023:75921f87971d28bc8a23d8fee8841138b0e5aa2f8b1d136febc16f66d85c2f3f","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":"wiki-repair-20261023:75921f87971d28bc8a23d8fee8841138b0e5aa2f8b1d136febc16f66d85c2f3f","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","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","version":"18.7"},{"file":"functions-admin.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"830e894d29fec30b7c350c915fcaed4a63b24d57f2c96150bf25fa07fb43849c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"admin","group_label":"系统管理函数","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":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-admin.html","sha256":"b4fab9daceb7883fd75b32b6eb5398f2bbbfbbed5c83d1b2bf99cc8d842cdaf7"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ADMIN-SIGNAL-TABLE","file":"functions-admin.html","sha256":"885561d57facd49c33b44a50e320a002197d700d118784cc87d6410efadbd1f6","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-rotate-logfile","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_rotate_logfile","Summary":"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.","BodyHTML":"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.","SourceRevision":"wiki-repair-20261023:75921f87971d28bc8a23d8fee8841138b0e5aa2f8b1d136febc16f66d85c2f3f","ContentHash":"c6bd7ba796b05dfe98f7fc1386a7b4fdd44f44ce0a543b50130569a1dca8b92f","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.","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":"same-version-manual"}]}},"RequestedLocale":"en","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":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
