pub fn remove_tablespace_statements(path: &str) -> Result<()>Expand description
Comments out tablespace-related statements in a globals dump file.
Some managed PostgreSQL targets (e.g., SerenDB) do not support custom tablespaces. This function filters out:
CREATE TABLESPACEstatements- Any statement referencing RDS-specific tablespaces (any
rds_*tablespace) including quoted (‘rds_’, “rds_”) and unquoted (TABLESPACE rds_*) forms