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_list (void) |
bool do_lo_export | ( | const char * | loid_arg, |
const char * | filename_arg | ||
) |
Definition at line 141 of file large_obj.c.
References atooid, _psqlSettings::db, fail_lo_xact(), finish_lo_xact(), lo_export(), PQerrorMessage(), print_lo_result(), pset, psql_error(), ResetCancelConn(), SetCancelConn(), start_lo_xact(), and status().
Referenced by exec_command_lo().
bool do_lo_import | ( | const char * | filename_arg, |
const char * | comment_arg | ||
) |
Definition at line 175 of file large_obj.c.
References _psqlSettings::db, fail_lo_xact(), finish_lo_xact(), free, InvalidOid, lo_import(), malloc, PQclear(), PQerrorMessage(), PQescapeStringConn(), print_lo_result(), pset, psql_error(), PSQLexec(), ResetCancelConn(), SetCancelConn(), SetVariable(), start_lo_xact(), and _psqlSettings::vars.
Referenced by exec_command_lo().
bool do_lo_list | ( | void | ) |
Definition at line 273 of file large_obj.c.
References _, buf, gettext_noop, _psqlSettings::logfile, printQueryOpt::nullPrint, _psqlSettings::popt, PQclear(), printQuery(), pset, PSQLexec(), _psqlSettings::queryFout, snprintf(), _psqlSettings::sversion, printQueryOpt::title, printQueryOpt::topt, printQueryOpt::translate_header, and printTableOpt::tuples_only.
Referenced by exec_command_d(), and exec_command_lo().
bool do_lo_unlink | ( | const char * | loid_arg | ) |
Definition at line 238 of file large_obj.c.
References atooid, _psqlSettings::db, fail_lo_xact(), finish_lo_xact(), lo_unlink(), PQerrorMessage(), print_lo_result(), pset, psql_error(), ResetCancelConn(), SetCancelConn(), start_lo_xact(), and status().
Referenced by exec_command_lo().