PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
bool | do_lo_export (const char *loid_arg, const char *filename_arg) |
bool | do_lo_import (const char *filename_arg, const char *comment_arg) |
bool | do_lo_unlink (const char *loid_arg) |
bool do_lo_export | ( | const char * | loid_arg, |
const char * | filename_arg | ||
) |
Definition at line 142 of file large_obj.c.
References atooid, _psqlSettings::db, fail_lo_xact(), finish_lo_xact(), lo_export(), pg_log_info, PQerrorMessage(), print_lo_result(), pset, ResetCancelConn(), SetCancelConn(), and start_lo_xact().
Referenced by exec_command_lo().
bool do_lo_import | ( | const char * | filename_arg, |
const char * | comment_arg | ||
) |
Definition at line 176 of file large_obj.c.
References _psqlSettings::db, fail_lo_xact(), finish_lo_xact(), free, InvalidOid, lo_import(), MCXT_ALLOC_NO_OOM, pg_log_info, pg_malloc_extended(), PQclear(), PQerrorMessage(), PQescapeStringConn(), print_lo_result(), pset, PSQLexec(), res, ResetCancelConn(), SetCancelConn(), SetVariable(), sprintf, start_lo_xact(), and _psqlSettings::vars.
Referenced by exec_command_lo().
bool do_lo_unlink | ( | const char * | loid_arg | ) |
Definition at line 239 of file large_obj.c.
References atooid, _psqlSettings::db, fail_lo_xact(), finish_lo_xact(), lo_unlink(), pg_log_info, PQerrorMessage(), print_lo_result(), pset, ResetCancelConn(), SetCancelConn(), and start_lo_xact().
Referenced by exec_command_lo().