(&mut self, options: PgDumpOptions)
| 430 | /// Run the bundled WASIX `pg_dump` against this database and return SQL text. |
| 431 | #[cfg(feature = "extensions")] |
| 432 | pub fn dump_sql(&mut self, options: PgDumpOptions) -> Result<String> { |
| 433 | self.check_ready()?; |
| 434 | options.validate()?; |
| 435 | self.checkpoint_backend_for_physical_snapshot("direct pg_dump")?; |
| 436 | self.dump_sql_via_direct_protocol(&options) |
| 437 | } |
| 438 | |
| 439 | /// Run the bundled WASIX `pg_dump` and return UTF-8 SQL bytes. |
| 440 | #[cfg(feature = "extensions")] |
no test coverage detected