Function ruster::psql_restore_all_databases [−][src]
#[no_mangle]
pub extern "C" fn psql_restore_all_databases(
host: *const c_char,
port: *const c_char,
user: *const c_char,
filename: *const c_char,
verbose: *const c_char
)
Expand description
Example
// Golang
os.Getenv("PGPASSWORD");
C.psql_restore_all_databases(
C.CString("localhost"),
C.CString("5432"),
C.CString("postgres"),
C.CString("dump.sql"),
C.CString("true"),
);