{"Entry":{"collection":"func","key":"pg-sleep-until","name":"pg_sleep_until","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"e5093596dcf8b1ab1a41d24b35c895ded6421ccc61df58c4a28c005fb9f05dd5","derived_content_hash":"14dd143fb4b05be42da433f6853f0a094e2a8b41337825bd1a174868d2b13880","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:fd36c91d7c1c4b6ecbdc2bba2f4e10f6c21d5a722818955aa1eac730c38da53e","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"9.4","group":"datetime","group_label":"Date/Time Functions And Operators","groups":["datetime"],"imported_at":"2026-09-14T21:49:48.710609+08:00","last_version":"20","name":"pg_sleep_until","name_key":"pg_sleep_until","position":8025,"present_in":["9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"2026-09-14T13:14:25.684213+00:00@99e6866c","receipt_sha256":"2dc5c7b58fc96e37a140d8af92b8f1cfb2ae9eaa7b12ddb0efa032395e46f274","repair":"wiki-repair-20261023"},"signature":"pg_sleep_until ( timestamp with time zone )","signature_count":1,"slug":"pg-sleep-until","source_rev":"wiki-repair-20261023:fd36c91d7c1c4b6ecbdc2bba2f4e10f6c21d5a722818955aa1eac730c38da53e","summary":"pg_sleep makes the current session's process sleep until the given number of seconds have elapsed.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-sleep-until","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-sleep-until","SourceRevision":"wiki-repair-20261023:fd36c91d7c1c4b6ecbdc2bba2f4e10f6c21d5a722818955aa1eac730c38da53e","Facts":{"description":"pg_sleep makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. pg_sleep_for is a convenience function to allow the sleep time to be specified as an interval. pg_sleep_until is a convenience function for when a specific wake-up time is desired. For example:","description_html":"\u003ccode class=\"function\"\u003epg_sleep\u003c/code\u003e makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. \u003ccode class=\"function\"\u003epg_sleep_for\u003c/code\u003e is a convenience function to allow the sleep time to be specified as an \u003ccode class=\"type\"\u003einterval\u003c/code\u003e. \u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e is a convenience function for when a specific wake-up time is desired. For example:","description_zh":"pg_sleep 使当前会话的进程休眠，直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。pg_sleep_for 是一个便捷函数，允许以 interval 指定休眠时间。pg_sleep_until 是在需要指定唤醒时间时使用的便捷函数。例如：","description_zh_html":"\u003ccode class=\"function\"\u003epg_sleep\u003c/code\u003e 使当前会话的进程休眠，直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。\u003ccode class=\"function\"\u003epg_sleep_for\u003c/code\u003e 是一个便捷函数，允许以 \u003ccode class=\"type\"\u003einterval\u003c/code\u003e 指定休眠时间。\u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e 是在需要指定唤醒时间时使用的便捷函数。例如：","doc":{"anchor":"FUNCTIONS-DATETIME-DELAY","file":"functions-datetime.html","sha256":"8c5053713aeaacfbe4cb00effc61f10d457c98b2a29c724b10b93819a087ea95","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-datetime.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"8c5053713aeaacfbe4cb00effc61f10d457c98b2a29c724b10b93819a087ea95","version":"18.7"},{"file":"functions-datetime.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"c3efdd1c3df6795c73dfea2ecec17ca31ff37da23d758083a581d75445851f0c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"datetime","group_label":"时间/日期函数和操作符","lang":"en","layout":"table-new","pages":["functions-datetime.html"],"prose_only":false,"signatures":[{"description":"pg_sleep makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. pg_sleep_for is a convenience function to allow the sleep time to be specified as an interval. pg_sleep_until is a convenience function for when a specific wake-up time is desired. For example:","description_html":"\u003ccode class=\"function\"\u003epg_sleep\u003c/code\u003e makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. \u003ccode class=\"function\"\u003epg_sleep_for\u003c/code\u003e is a convenience function to allow the sleep time to be specified as an \u003ccode class=\"type\"\u003einterval\u003c/code\u003e. \u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e is a convenience function for when a specific wake-up time is desired. For example:","description_zh":"pg_sleep 使当前会话的进程休眠，直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。pg_sleep_for 是一个便捷函数，允许以 interval 指定休眠时间。pg_sleep_until 是在需要指定唤醒时间时使用的便捷函数。例如：","description_zh_html":"\u003ccode class=\"function\"\u003epg_sleep\u003c/code\u003e 使当前会话的进程休眠，直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。\u003ccode class=\"function\"\u003epg_sleep_for\u003c/code\u003e 是一个便捷函数，允许以 \u003ccode class=\"type\"\u003einterval\u003c/code\u003e 指定休眠时间。\u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e 是在需要指定唤醒时间时使用的便捷函数。例如：","examples":[],"html":"\u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e ( \u003ccode class=\"type\"\u003etimestamp with time zone\u003c/code\u003e )","returns":"","text":"pg_sleep_until ( timestamp with time zone )","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-datetime.html","sha256":"2340eed8f18e5a5a727bb6bf8f828eedbab527da91082a214ea4f64a3b8750a6"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-DATETIME-DELAY","file":"functions-datetime.html","sha256":"8c5053713aeaacfbe4cb00effc61f10d457c98b2a29c724b10b93819a087ea95","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-sleep-until","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_sleep_until","Summary":"pg_sleep makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. pg_sleep_for is a convenience function to allow the sleep time to be specified as an interval. pg_sleep_until is a convenience function for when a specific wake-up time is desired. For example:","BodyHTML":"\u003ccode\u003epg_sleep\u003c/code\u003e makes the current session\u0026#39;s process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. \u003ccode\u003epg_sleep_for\u003c/code\u003e is a convenience function to allow the sleep time to be specified as an \u003ccode\u003einterval\u003c/code\u003e. \u003ccode\u003epg_sleep_until\u003c/code\u003e is a convenience function for when a specific wake-up time is desired. For example:","SourceRevision":"wiki-repair-20261023:fd36c91d7c1c4b6ecbdc2bba2f4e10f6c21d5a722818955aa1eac730c38da53e","ContentHash":"c9362452c75f48e4b97a0ac7967ed82de1ba6503ef80c351a8748e99bca8b185","Payload":{"description":"pg_sleep makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. pg_sleep_for is a convenience function to allow the sleep time to be specified as an interval. pg_sleep_until is a convenience function for when a specific wake-up time is desired. For example:","description_html":"\u003ccode class=\"function\"\u003epg_sleep\u003c/code\u003e makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. \u003ccode class=\"function\"\u003epg_sleep_for\u003c/code\u003e is a convenience function to allow the sleep time to be specified as an \u003ccode class=\"type\"\u003einterval\u003c/code\u003e. \u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e is a convenience function for when a specific wake-up time is desired. For example:","signatures":[{"description":"pg_sleep makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. pg_sleep_for is a convenience function to allow the sleep time to be specified as an interval. pg_sleep_until is a convenience function for when a specific wake-up time is desired. For example:","description_html":"\u003ccode class=\"function\"\u003epg_sleep\u003c/code\u003e makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. \u003ccode class=\"function\"\u003epg_sleep_for\u003c/code\u003e is a convenience function to allow the sleep time to be specified as an \u003ccode class=\"type\"\u003einterval\u003c/code\u003e. \u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e is a convenience function for when a specific wake-up time is desired. For example:","description_zh":"pg_sleep 使当前会话的进程休眠，直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。pg_sleep_for 是一个便捷函数，允许以 interval 指定休眠时间。pg_sleep_until 是在需要指定唤醒时间时使用的便捷函数。例如：","description_zh_html":"\u003ccode class=\"function\"\u003epg_sleep\u003c/code\u003e 使当前会话的进程休眠，直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。\u003ccode class=\"function\"\u003epg_sleep_for\u003c/code\u003e 是一个便捷函数，允许以 \u003ccode class=\"type\"\u003einterval\u003c/code\u003e 指定休眠时间。\u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e 是在需要指定唤醒时间时使用的便捷函数。例如：","examples":[],"html":"\u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e ( \u003ccode class=\"type\"\u003etimestamp with time zone\u003c/code\u003e )","returns":"","text":"pg_sleep_until ( timestamp with time zone )","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"25f0b1032e42eec6cf686cd179696cc52dc869c4c8533210ae6ee3eb6a7299eb","Text":"pg_sleep_until ( timestamp with time zone )","Returns":"","Payload":{"description":"pg_sleep makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. pg_sleep_for is a convenience function to allow the sleep time to be specified as an interval. pg_sleep_until is a convenience function for when a specific wake-up time is desired. For example:","description_html":"\u003ccode class=\"function\"\u003epg_sleep\u003c/code\u003e makes the current session's process sleep until the given number of seconds have elapsed. Fractional-second delays can be specified. \u003ccode class=\"function\"\u003epg_sleep_for\u003c/code\u003e is a convenience function to allow the sleep time to be specified as an \u003ccode class=\"type\"\u003einterval\u003c/code\u003e. \u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e is a convenience function for when a specific wake-up time is desired. For example:","description_zh":"pg_sleep 使当前会话的进程休眠，直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。pg_sleep_for 是一个便捷函数，允许以 interval 指定休眠时间。pg_sleep_until 是在需要指定唤醒时间时使用的便捷函数。例如：","description_zh_html":"\u003ccode class=\"function\"\u003epg_sleep\u003c/code\u003e 使当前会话的进程休眠，直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。\u003ccode class=\"function\"\u003epg_sleep_for\u003c/code\u003e 是一个便捷函数，允许以 \u003ccode class=\"type\"\u003einterval\u003c/code\u003e 指定休眠时间。\u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e 是在需要指定唤醒时间时使用的便捷函数。例如：","examples":[],"html":"\u003ccode class=\"function\"\u003epg_sleep_until\u003c/code\u003e ( \u003ccode class=\"type\"\u003etimestamp with time zone\u003c/code\u003e )","returns":"","text":"pg_sleep_until ( timestamp with time zone )","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
