timescaledb_post_restore()
Perform the required operations after you have finished restoring the database using pg_restore. Specifically, this resets the timescaledb.restoring GUC and restarts any background workers.
For more information, see [Migrate using pg_dump and pg_restore].
Prepare the database for normal use after a restore: