timescaledb_pre_restore()
Perform the proper operations to allow restoring of the database via pg_restore
to commence. Specifically this sets the timescaledb.restoring
GUC to on
and stops any background workers which may have been performing tasks until the timescaledb_post_restore function is run following the restore. See backup/restore docs for more information.
warning
Using this function when doing an upgrade could cause issues in TimescaleDB versions before 1.7.1.
warning
After running SELECT timescaledb_pre_restore()
you must run the timescaledb_post_restore function before using the database normally.
Sample usage
SELECT timescaledb_pre_restore();
当前内容版权归 TimescaleDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 TimescaleDB .