Function ruster::pg_dump_all_databases[][src]

#[no_mangle]
pub extern "C" fn pg_dump_all_databases(
    host: *const c_char,
    port: *const c_char,
    user: *const c_char,
    database: *const c_char,
    filename_pattern: *const c_char,
    verbose: *const c_char
)
Expand description

Example

// Golang
os.Getenv("PGPASSWORD");
C.pg_dump_all_databases(
	C.CString("localhost"),
	C.CString("5432"),
	C.CString("postgres"),
	C.CString("dump.sql"),
	C.CString("true"),
);