In PostgreSQL, you can use the pg_sleep_until()
function to delay execution until a specified timestamp.
This is useful for when a specific wake-up time is desired.
Note that pg_sleep_until
is not guaranteed to wake up exactly at the specified time, but it will not wake up any earlier.