Skip to main content

Module restore

Module restore 

Source
Expand description

COPY 感知的 SQL 预处理、原子恢复、临时文件清理与缓存失效。

Structs§

PreparedRestoreSql 🔒

Functions§

is_allowed_restore_meta_command 🔒
is_legacy_pg_dump_owner_statement 🔒
run_restore 🔒
后台执行恢复:探测 psql,可用则原子恢复,不可用则报告。
sql_line_without_eol 🔒
trim_restore_line_start 🔒
去除恢复脚本行首空白,确保带缩进的 psql 元命令也进入安全检查。
write_owner_neutral_restore_sql 🔒