pg_sleep_until ( timestamp with time zone )
pg_sleep 使当前会话的进程休眠,直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。pg_sleep_for 是一个便捷函数,允许以 interval 指定休眠时间。pg_sleep_until 是在需要指定唤醒时间时使用的便捷函数。例如:pg_sleep 使当前会话的进程休眠,直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。pg_sleep_for 是一个便捷函数,允许以 interval 指定休眠时间。pg_sleep_until 是在需要指定唤醒时间时使用的便捷函数。例如:
英文手册覆盖始于 PostgreSQL 7.1. 来源历史与运行验证各自保留独立版本边界。
当前阅读 PG 19·选择有来源记录的版本
pg_sleep 使当前会话的进程休眠,直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。pg_sleep_for 是一个便捷函数,允许以 interval 指定休眠时间。pg_sleep_until 是在需要指定唤醒时间时使用的便捷函数。例如:pg_sleep_until ( timestamp with time zone )
pg_sleep 使当前会话的进程休眠,直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。pg_sleep_for 是一个便捷函数,允许以 interval 指定休眠时间。pg_sleep_until 是在需要指定唤醒时间时使用的便捷函数。例如:pg_sleep_until ( timestamp with time zone )
pg_sleep 使当前会话的进程休眠,直到经过指定的秒数。可以指定带小数部分的秒数作为延迟时间。pg_sleep_for 是一个便捷函数,允许以 interval 指定休眠时间。pg_sleep_until 是在需要指定唤醒时间时使用的便捷函数。例如:{"inputs":[{"file":"functions-datetime.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"b7a6cb5aaa8097293830b1e09beb16b975d72dbe156b9901e6f34ba0e1dd8ceb","version":"19rc2"},{"file":"functions-datetime.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"c18874697badf3f08c76d8b4453195fcca4140306821e183775ec45771cbdee1","version":"19rc2"}],"release":"19rc2","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}center · PostgreSQL 19 · wiki-repair-20261023:fd36c91d7c1c4b6ecbdc2bba2f4e10f6c21d5a722818955aa1eac730c38da53e
正文语言: zh-Hans · wiki-repair-20261023:fd36c91d7c1c4b6ecbdc2bba2f4e10f6c21d5a722818955aa1eac730c38da53e