MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / dump_bytes

Method dump_bytes

src/pglite/client.rs:441–443  ·  view source on GitHub ↗
(&mut self, options: PgDumpOptions)

Source from the content-addressed store, hash-verified

439 /// Run the bundled WASIX `pg_dump` and return UTF-8 SQL bytes.
440 #[cfg(feature = "extensions")]
441 pub fn dump_bytes(&mut self, options: PgDumpOptions) -> Result<Vec<u8>> {
442 Ok(self.dump_sql(options)?.into_bytes())
443 }
444
445 fn checkpoint_backend_for_physical_snapshot(&mut self, operation: &'static str) -> Result<()> {
446 if self.in_transaction {

Callers

nothing calls this directly

Calls 1

dump_sqlMethod · 0.45

Tested by

no test coverage detected