PostgreSQL Source Code
git master
|
#include "postgres_fe.h"
#include <sys/select.h>
#include <sys/time.h>
#include "catalog/pg_type_d.h"
#include "common/fe_memutils.h"
#include "libpq-fe.h"
#include "pg_getopt.h"
#include "portability/instr_time.h"
Go to the source code of this file.
Macros | |
#define | pg_debug(...) |
#define | MAXINTLEN 12 |
#define | MAXINT8LEN 20 |
#define | pg_fatal(...) pg_fatal_impl(__LINE__, __VA_ARGS__) |
#define | confirm_query_canceled(conn) confirm_query_canceled_impl(__LINE__, conn) |
#define | send_cancellable_query(conn, monitorConn) send_cancellable_query_impl(__LINE__, conn, monitorConn) |
Enumerations | |
enum | PipelineInsertStep { BI_BEGIN_TX , BI_DROP_TABLE , BI_CREATE_TABLE , BI_PREPARE , BI_INSERT_ROWS , BI_COMMIT_TX , BI_SYNC , BI_DONE } |
Functions | |
static void | exit_nicely (PGconn *conn) |
static void | pg_attribute_noreturn () pg_fatal_impl(int line |
static void const char | pg_attribute_printf (2, 3) |
static bool | process_result (PGconn *conn, PGresult *res, int results, int numsent) |
static void const char | fflush (stdout) |
fprintf (stderr, "\n%s:%d: ", progname, line) | |
va_start (args, fmt) | |
vfprintf (stderr, fmt, args) | |
va_end (args) | |
Assert (fmt[strlen(fmt) - 1] !='\n') | |
fprintf (stderr, "\n") | |
exit (1) | |
static void | confirm_query_canceled_impl (int line, PGconn *conn) |
static void | wait_for_connection_state (int line, PGconn *monitorConn, int procpid, char *state, char *event) |
static void | send_cancellable_query_impl (int line, PGconn *conn, PGconn *monitorConn) |
static PGconn * | copy_connection (PGconn *conn) |
static void | test_cancel (PGconn *conn) |
static void | test_disallowed_in_pipeline (PGconn *conn) |
static void | test_multi_pipelines (PGconn *conn) |
static void | test_nosync (PGconn *conn) |
static void | test_pipeline_abort (PGconn *conn) |
static void | test_pipelined_insert (PGconn *conn, int n_rows) |
static void | test_prepared (PGconn *conn) |
static void | notice_processor (void *arg, const char *message) |
static void | test_pipeline_idle (PGconn *conn) |
static void | test_simple_pipeline (PGconn *conn) |
static void | test_singlerowmode (PGconn *conn) |
static void | test_transaction (PGconn *conn) |
static void | test_uniqviol (PGconn *conn) |
static void | usage (const char *progname) |
static void | print_test_list (void) |
int | main (int argc, char **argv) |
Variables | |
static void const char * | fmt |
static const char *const | progname = "libpq_pipeline" |
static char * | tracefile = NULL |
static const char *const | drop_table_sql |
static const char *const | create_table_sql |
static const char *const | insert_sql |
static const char *const | insert_sql2 |
#define confirm_query_canceled | ( | conn | ) | confirm_query_canceled_impl(__LINE__, conn) |
Definition at line 96 of file libpq_pipeline.c.
#define MAXINT8LEN 20 |
Definition at line 58 of file libpq_pipeline.c.
#define MAXINTLEN 12 |
Definition at line 57 of file libpq_pipeline.c.
#define pg_debug | ( | ... | ) |
Definition at line 43 of file libpq_pipeline.c.
#define pg_fatal | ( | ... | ) | pg_fatal_impl(__LINE__, __VA_ARGS__) |
Definition at line 75 of file libpq_pipeline.c.
#define send_cancellable_query | ( | conn, | |
monitorConn | |||
) | send_cancellable_query_impl(__LINE__, conn, monitorConn) |
Definition at line 172 of file libpq_pipeline.c.
enum PipelineInsertStep |
Enumerator | |
---|---|
BI_BEGIN_TX | |
BI_DROP_TABLE | |
BI_CREATE_TABLE | |
BI_PREPARE | |
BI_INSERT_ROWS | |
BI_COMMIT_TX | |
BI_SYNC | |
BI_DONE |
Definition at line 995 of file libpq_pipeline.c.
Assert | ( | fmt ! | [strlen(fmt) - 1] = '\n' | ) |
Referenced by test_cancel(), test_pipelined_insert(), and wait_for_connection_state().
|
static |
Definition at line 98 of file libpq_pipeline.c.
References conn, PG_DIAG_SQLSTATE, PGRES_FATAL_ERROR, PQclear(), PQconsumeInput(), PQerrorMessage(), PQgetResult(), PQisBusy(), PQresultErrorField(), PQresultStatus(), and res.
Definition at line 206 of file libpq_pipeline.c.
References conn, CONNECTION_OK, i, opts, pg_fatal, pg_malloc(), PQconnectdbParams(), PQconninfo(), PQerrorMessage(), and PQstatus().
Referenced by test_cancel().
exit | ( | 1 | ) |
Referenced by _check_database_version(), add_socket_to_set(), add_typedefs_from_file(), addtype(), adjleap(), adjust_data_dir(), append_database_pattern(), append_relation_pattern_helper(), append_schema_pattern(), appendPsqlMetaConnect(), appendQualifiedRelation(), appendShellString(), associate(), astreamer_zstd_compressor_new(), bail_out(), BaseBackup(), bootstrap_template1(), change_directory(), check_input(), check_locale_name(), check_ok(), check_prepare_conn(), check_publisher(), check_root(), check_subscriber(), check_testspec(), CheckConnection(), CheckDataVersion(), checkInitSteps(), close_cur1(), close_file(), cluster_one_database(), compile_database_list(), compile_relation_list_one_db(), connect_database(), connect_slot(), connectToServer(), create_data_directory(), create_xlog_or_symlink(), CreateBackupStreamer(), die_on_query_failure(), digestControlFile(), disconnect_database(), do_init(), do_kill(), do_logrotate(), do_promote(), do_reload(), do_restart(), do_start(), do_status(), do_stop(), dolink(), ecpg_filter_source(), ecpg_filter_stderr(), ecpg_start_test(), enlargeStringInfo(), ensureCleanShutdown(), err(), error(), errstart(), errx(), executeCommand(), executeQuery(), executeQueryOrDie(), executeStatement(), exit_nicely(), find_other_exec_or_die(), findBuiltin(), FindStreamingStart(), get_control_dbstate(), get_id(), get_opts(), get_pgpid(), get_record1(), get_restricted_token(), get_su_pwd(), get_user_name_or_exit(), get_var1(), GetConnection(), getfields(), GetTableInfo(), GucInfoMain(), handle_args(), handle_help_version_opts(), HandleStartupProcInterrupts(), infile(), Initialize(), isolation_init(), isolation_start_test(), leapadd(), libpqsrv_cancel(), main(), memory_exhausted(), mkdirs(), newabbr(), open_cur1(), open_walfile(), ParallelBackupStart(), parse_psql_options(), parseCommandLine(), parseServiceFile(), pg_ctl_status(), pg_fatal(), pg_log_v(), pg_malloc_internal(), pg_realloc(), pg_strdup(), pg_wcsformat(), pgfdw_get_cleanup_result(), pgwin32_is_admin(), pnstrdup(), postprocess_sql_command(), PQprint(), printTable(), printTableAddCell(), printTableAddHeader(), printTableInit(), proc_exit(), process_backslash_command(), process_directory_recursively(), psql_start_test(), pvsnprintf(), read_controlfile(), read_dumpall_filters(), read_post_opts(), regression_main(), reindex_one_database(), replace_percent_placeholders(), report_backup_error(), report_clusters_compatible(), report_fatal_error(), report_manifest_error(), rewind_parseTimeLineHistory(), rpytime(), rulesub(), run_command(), run_permutation(), run_reindex_command(), runInitSteps(), s_lock_stuck(), save_ps_display_args(), scan_for_existing_tablespaces(), search_directory(), set_mode(), set_option(), set_sig(), setup_data_file_paths(), setup_locale_encoding(), setup_pgdata(), setup_publisher(), SetWALFileNameForCleanup(), spawn_process(), sql_check(), sql_conn(), sql_exec(), start_postmaster(), StartLogStreamer(), startup_hacks(), StreamLog(), syntax_error(), test_strlower(), test_timing(), threadRun(), time_overflow(), TransferPredicateLocksToNewTarget(), try_complete_step(), usage(), vacuum_delay_point(), vacuum_one_database(), WalRcvWaitForStartPosition(), walsummary_error_callback(), and writezone().
|
static |
Definition at line 61 of file libpq_pipeline.c.
References conn, exit(), and PQfinish().
Referenced by main(), test_nosync(), and test_pipelined_insert().
static void const char fflush | ( | stdout | ) |
Referenced by adjust_data_dir(), bootstrap_template1(), check_ok(), cluster_all_databases(), create_data_directory(), create_xlog_or_symlink(), do_copy(), do_init(), do_pg_backup_stop(), do_shell(), do_watch(), dumpnfa(), echo_hidden_command(), ecpg_log(), editFile(), emit_tap_output_v(), ensureCleanShutdown(), errfinish(), ExceptionalCondition(), exec_command_print(), exec_command_prompt(), exec_command_write(), exec_prog(), ExecQueryAndProcessResults(), ExecQueryTuples(), ExecuteRecoveryCommand(), fork_process(), get_bin_version(), get_control_data(), get_prompt(), get_su_pwd(), gets_interactive(), handleCopyIn(), handleCopyOut(), HandleSlashCmds(), initialize_data_directory(), InteractiveBackend(), log_pre_callback(), main(), MainLoop(), OpenPipeStream(), openQueryOutputFile(), PageOutput(), parallel_exec_prog(), parallel_transfer_all_new_dbs(), ParallelBackupStart(), parse_required_wal(), perform_spin_delay(), pg_log_generic_v(), pg_log_v(), pg_regcomp(), pg_regexec(), pipe_read_line(), plpgsql_dumptree(), popen_check(), pprint(), PQdisplayTuples(), pqFlush(), PQprint(), PQuntrace(), print(), print_filemap(), print_msg(), PrintNotifications(), PrintQueryStatus(), PrintQueryTuples(), printVersion(), psql_end_command(), PSQLexec(), regression_main(), reindex_all_databases(), RestoreArchivedFile(), run_diff(), runPgDump(), runShellCommand(), SendQuery(), setup_config(), shell_archive_file(), simple_prompt_extended(), spawn_process(), start_postmaster(), stop_postmaster(), SysLogger_Start(), test_config_settings(), test_file_descriptor_sync(), test_non_sync(), test_open_sync(), test_specific_config_settings(), test_sync(), vacuum_one_database(), vacuumlo(), and write_stderr().
fprintf | ( | stderr | , |
"\n" | |||
) |
fprintf | ( | stderr | , |
"\n%s:%d: " | , | ||
progname | , | ||
line | |||
) |
Referenced by main(), notice_processor(), process_result(), test_cancel(), test_disallowed_in_pipeline(), test_multi_pipelines(), test_nosync(), test_pipeline_abort(), test_pipeline_idle(), test_pipelined_insert(), test_prepared(), test_simple_pipeline(), test_singlerowmode(), test_transaction(), test_uniqviol(), and usage().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 2166 of file libpq_pipeline.c.
References conn, CONNECTION_OK, exit(), exit_nicely(), fprintf(), getopt(), optarg, optind, pg_fatal, PG_IOLBF, pg_strdup(), PGRES_COMMAND_OK, PQconnectdb(), PQerrorMessage(), PQexec(), PQfinish(), PQresultStatus(), PQsetTraceFlags(), PQstatus(), PQtrace(), PQTRACE_REGRESS_MODE, PQTRACE_SUPPRESS_TIMESTAMPS, print_test_list(), res, generate_unaccent_rules::stdout, test_cancel(), test_disallowed_in_pipeline(), test_multi_pipelines(), test_nosync(), test_pipeline_abort(), test_pipeline_idle(), test_pipelined_insert(), test_prepared(), test_simple_pipeline(), test_singlerowmode(), test_transaction(), test_uniqviol(), tracefile, and usage().
|
static |
Definition at line 1413 of file libpq_pipeline.c.
References arg, and fprintf().
Referenced by test_pipeline_idle().
|
static |
static void const char pg_attribute_printf | ( | 2 | , |
3 | |||
) |
|
static |
Definition at line 2089 of file libpq_pipeline.c.
References conn, fprintf(), pg_fatal, PGRES_FATAL_ERROR, PGRES_PIPELINE_ABORTED, PGRES_TUPLES_OK, PQclear(), PQerrorMessage(), PQgetResult(), PQgetvalue(), PQresStatus(), PQresultStatus(), and res.
Referenced by test_uniqviol().
Definition at line 175 of file libpq_pipeline.c.
References conn, PQbackendPID(), PQerrorMessage(), PQsendQueryParams(), and wait_for_connection_state().
|
static |
Definition at line 245 of file libpq_pipeline.c.
References Assert(), cancelConn, confirm_query_canceled, conn, CONNECTION_OK, copy_connection(), EINTR, fprintf(), pg_debug, pg_fatal, PGRES_POLLING_OK, PGRES_POLLING_READING, PGRES_POLLING_WRITING, PQcancel(), PQcancelBlocking(), PQcancelCreate(), PQcancelErrorMessage(), PQcancelFinish(), PQcancelPoll(), PQcancelReset(), PQcancelSocket(), PQcancelStart(), PQcancelStatus(), PQerrorMessage(), PQfreeCancel(), PQgetCancel(), PQrequestCancel(), PQsetnonblocking(), PQstatus(), select, and send_cancellable_query.
Referenced by main().
|
static |
Definition at line 409 of file libpq_pipeline.c.
References conn, fprintf(), pg_fatal, PGRES_FATAL_ERROR, PGRES_TUPLES_OK, PQ_PIPELINE_OFF, PQenterPipelineMode(), PQerrorMessage(), PQexec(), PQexitPipelineMode(), PQisBusy(), PQisnonblocking(), PQpipelineStatus(), PQresultStatus(), PQsendQuery(), and res.
Referenced by main().
|
static |
Definition at line 469 of file libpq_pipeline.c.
References conn, fprintf(), pg_fatal, PGRES_PIPELINE_SYNC, PGRES_TUPLES_OK, PQ_PIPELINE_OFF, PQclear(), PQenterPipelineMode(), PQerrorMessage(), PQexitPipelineMode(), PQgetResult(), PQpipelineStatus(), PQpipelineSync(), PQresStatus(), PQresultStatus(), PQsendPipelineSync(), PQsendQueryParams(), and res.
Referenced by main().
|
static |
Definition at line 614 of file libpq_pipeline.c.
References conn, exit_nicely(), fprintf(), i, pg_fatal, PGRES_TUPLES_OK, PQclear(), PQconsumeInput(), PQenterPipelineMode(), PQerrorMessage(), PQflush(), PQgetResult(), PQresStatus(), PQresultStatus(), PQsendFlushRequest(), PQsendQueryParams(), PQsocket(), res, and select.
Referenced by main().
|
static |
Definition at line 706 of file libpq_pipeline.c.
References conn, create_table_sql, drop_table_sql, fprintf(), i, insert_sql, PG_DIAG_SQLSTATE, pg_fatal, PGRES_COMMAND_OK, PGRES_FATAL_ERROR, PGRES_PIPELINE_ABORTED, PGRES_PIPELINE_SYNC, PGRES_SINGLE_TUPLE, PGRES_TUPLES_OK, PQ_PIPELINE_ABORTED, PQ_PIPELINE_OFF, PQclear(), PQenterPipelineMode(), PQerrorMessage(), PQexec(), PQexitPipelineMode(), PQgetResult(), PQgetvalue(), PQntuples(), PQpipelineStatus(), PQpipelineSync(), PQresStatus(), PQresultErrorField(), PQresultErrorMessage(), PQresultStatus(), PQsendQueryParams(), PQsetSingleRowMode(), printf, res, and val.
Referenced by main().
|
static |
Definition at line 1423 of file libpq_pipeline.c.
References conn, fprintf(), notice_processor(), pg_fatal, PGRES_TUPLES_OK, PQclear(), PQenterPipelineMode(), PQerrorMessage(), PQexitPipelineMode(), PQgetResult(), PQresStatus(), PQresultStatus(), PQsendFlushRequest(), PQsendQueryParams(), PQsetNoticeProcessor(), and res.
Referenced by main().
|
static |
Definition at line 1008 of file libpq_pipeline.c.
References Assert(), BI_BEGIN_TX, BI_COMMIT_TX, BI_CREATE_TABLE, BI_DONE, BI_DROP_TABLE, BI_INSERT_ROWS, BI_PREPARE, BI_SYNC, conn, create_table_sql, description, drop_table_sql, exit_nicely(), fprintf(), insert_sql2, MAXINT8LEN, MAXINTLEN, pg_debug, pg_fatal, PGRES_COMMAND_OK, PGRES_PIPELINE_SYNC, PQclear(), PQcmdStatus(), PQconsumeInput(), PQenterPipelineMode(), PQerrorMessage(), PQexitPipelineMode(), PQflush(), PQgetResult(), PQisBusy(), PQpipelineSync(), PQresStatus(), PQresultStatus(), PQsendPrepare(), PQsendQueryParams(), PQsendQueryPrepared(), PQsetnonblocking(), PQsocket(), res, select, snprintf, and generate_unaccent_rules::stdout.
Referenced by main().
|
static |
Definition at line 1254 of file libpq_pipeline.c.
References conn, fprintf(), i, lengthof, pg_fatal, PGRES_COMMAND_OK, PGRES_FATAL_ERROR, PGRES_PIPELINE_SYNC, PQclear(), PQclosePortal(), PQclosePrepared(), PQdescribePortal(), PQdescribePrepared(), PQenterPipelineMode(), PQerrorMessage(), PQexec(), PQexitPipelineMode(), PQftype(), PQgetResult(), PQnfields(), PQpipelineSync(), PQresStatus(), PQresultStatus(), PQsendClosePortal(), PQsendClosePrepared(), PQsendDescribePortal(), PQsendDescribePrepared(), PQsendPrepare(), and res.
Referenced by main().
|
static |
Definition at line 1490 of file libpq_pipeline.c.
References conn, fprintf(), pg_fatal, PGRES_PIPELINE_SYNC, PGRES_TUPLES_OK, PQ_PIPELINE_OFF, PQclear(), PQenterPipelineMode(), PQerrorMessage(), PQexitPipelineMode(), PQgetResult(), PQisnonblocking(), PQpipelineStatus(), PQpipelineSync(), PQresStatus(), PQresultStatus(), PQsendQueryParams(), and res.
Referenced by main().
|
static |
Definition at line 1577 of file libpq_pipeline.c.
References conn, fprintf(), i, pfree(), pg_fatal, PGRES_PIPELINE_SYNC, PGRES_SINGLE_TUPLE, PGRES_TUPLES_CHUNK, PGRES_TUPLES_OK, PQclear(), PQenterPipelineMode(), PQerrorMessage(), PQexitPipelineMode(), PQgetResult(), PQgetvalue(), PQntuples(), PQpipelineSync(), PQresStatus(), PQresultStatus(), PQsendFlushRequest(), PQsendQueryParams(), PQsetChunkedRowsMode(), PQsetSingleRowMode(), psprintf(), and res.
Referenced by main().
|
static |
Definition at line 1773 of file libpq_pipeline.c.
References conn, fprintf(), i, pg_fatal, PGRES_COMMAND_OK, PGRES_FATAL_ERROR, PGRES_PIPELINE_ABORTED, PGRES_PIPELINE_SYNC, PGRES_TUPLES_OK, PQclear(), PQenterPipelineMode(), PQerrorMessage(), PQexec(), PQexitPipelineMode(), PQgetResult(), PQgetvalue(), PQntuples(), PQpipelineSync(), PQresStatus(), PQresultStatus(), PQsendPrepare(), PQsendQueryParams(), PQsendQueryPrepared(), printf, and res.
Referenced by main().
|
static |
Definition at line 1921 of file libpq_pipeline.c.
References conn, EINTR, fprintf(), MAXINT8LEN, pg_fatal, PGRES_COMMAND_OK, PQconsumeInput(), PQenterPipelineMode(), PQerrorMessage(), PQexec(), PQflush(), PQgetResult(), PQisBusy(), PQprepare(), PQresultStatus(), PQsendFlushRequest(), PQsendQueryPrepared(), PQsetnonblocking(), PQsocket(), process_result(), res, select, and sprintf.
Referenced by main().
|
static |
Definition at line 2137 of file libpq_pipeline.c.
References fprintf(), and progname.
Referenced by main().
va_end | ( | args | ) |
Referenced by ahprintf(), appendJSONKeyValueFmt(), appendPQExpBuffer(), appendStringInfo(), archprintf(), bail_out(), check_amproc_signature(), dblink_res_error(), do_serialize(), ecpg_log(), ECPGdescribe(), ECPGdo(), ECPGget_desc(), ECPGset_desc(), emit_tap_output(), emit_tap_output_v(), err(), error(), errx(), exec_prog(), executeQueryOrDie(), libpq_append_conn_error(), libpq_append_error(), log_error(), manifest_report_error(), parallel_exec_prog(), pg_fatal(), pg_fprintf(), pg_log(), pg_log_filter_error(), pg_log_generic(), pg_log_generic_v(), pg_printf(), pg_snprintf(), pg_sprintf(), PLy_elog_impl(), PLy_exception_set(), PLy_exception_set_plural(), pqInternalNotice(), prep_status(), prep_status_progress(), print_lo_result(), printfPQExpBuffer(), psprintf(), psql_add_command(), px_debug(), replace_percent_placeholders(), report_backup_error(), report_fatal_error(), report_invalid_record(), report_manifest_error(), report_status(), ReportWalSummaryError(), StringAt(), tarPrintf(), walsummary_error_callback(), warn_or_exit_horribly(), warning(), and write_stderr().
va_start | ( | args | , |
fmt | |||
) |
Referenced by ahprintf(), appendJSONKeyValueFmt(), appendPQExpBuffer(), appendStringInfo(), archprintf(), bail_out(), check_amproc_signature(), dblink_res_error(), do_serialize(), ecpg_log(), ECPGdescribe(), ECPGdo(), ECPGget_desc(), ECPGset_desc(), emit_tap_output(), err(), error(), errx(), exec_prog(), executeQueryOrDie(), libpq_append_conn_error(), libpq_append_error(), log_error(), manifest_report_error(), parallel_exec_prog(), pg_fatal(), pg_fprintf(), pg_log(), pg_log_filter_error(), pg_log_generic(), pg_printf(), pg_snprintf(), pg_sprintf(), PLy_elog_impl(), PLy_exception_set(), PLy_exception_set_plural(), pqInternalNotice(), prep_status(), prep_status_progress(), print_lo_result(), printfPQExpBuffer(), psprintf(), psql_add_command(), px_debug(), replace_percent_placeholders(), report_backup_error(), report_fatal_error(), report_invalid_record(), report_manifest_error(), report_status(), ReportWalSummaryError(), StringAt(), tarPrintf(), walsummary_error_callback(), warn_or_exit_horribly(), warning(), and write_stderr().
vfprintf | ( | stderr | , |
fmt | , | ||
args | |||
) |
Referenced by ecpg_log(), emit_tap_output_v(), err(), errx(), pg_log_generic_v(), print_lo_result(), verror(), and write_stderr().
|
static |
Definition at line 123 of file libpq_pipeline.c.
References Assert(), pfree(), pg_usleep(), PGRES_TUPLES_OK, PQclear(), PQerrorMessage(), PQexecParams(), PQgetvalue(), PQnfields(), PQntuples(), PQresultStatus(), psprintf(), res, and value.
Referenced by send_cancellable_query_impl().
|
static |
Definition at line 48 of file libpq_pipeline.c.
Referenced by test_pipeline_abort(), and test_pipelined_insert().
|
static |
Definition at line 46 of file libpq_pipeline.c.
Referenced by test_pipeline_abort(), and test_pipelined_insert().
static void const char * fmt |
Definition at line 29 of file libpq_pipeline.c.
Referenced by _allocAH(), ahprintf(), appendJSONKeyValueFmt(), appendPQExpBuffer(), appendPQExpBufferVA(), appendStringInfo(), appendStringInfoVA(), archprintf(), bail_out(), CreateArchive(), date_test_defmt(), date_test_fmt(), datetime_to_char_body(), dblink_res_error(), do_pset(), do_serialize(), do_to_timestamp(), dttofmtasc_replace(), ecpg_log(), emit_tap_output(), emit_tap_output_v(), err(), errmsg(), errmsg_internal(), errx(), exec_prog(), executeQueryOrDie(), find_end_token(), float4_to_char(), float8_to_char(), fmtfloat(), fmtlong(), format_elog_string(), int4_to_char(), int8_to_char(), interval_to_char(), libpq_append_conn_error(), libpq_append_error(), log_error(), main(), manifest_report_error(), my_strftime(), numeric_to_char(), numeric_to_number(), OpenArchive(), parallel_exec_prog(), parse_datetime(), pg_fatal(), pg_fprintf(), pg_log(), pg_log_filter_error(), pg_log_generic(), pg_log_generic_v(), pg_log_v(), pg_printf(), pg_snprintf(), pg_sprintf(), pg_strfromd(), pg_vfprintf(), pg_vprintf(), pg_vsnprintf(), pg_vsprintf(), PGTYPESdate_defmt_asc(), PGTYPEStimestamp_defmt_asc(), PGTYPEStimestamp_defmt_scan(), PLy_elog_impl(), PLy_exception_set(), pqInternalNotice(), prep_status(), prep_status_progress(), print_lo_result(), printfPQExpBuffer(), ProcessCopyOptions(), psprintf(), pvsnprintf(), px_debug(), rdefmtdate(), ReadHead(), report_backup_error(), report_fatal_error(), report_invalid_record(), report_manifest_error(), report_status(), ReportWalSummaryError(), rfmtdate(), rfmtlong(), tarPrintf(), text_format(), timestamp_to_char(), timestamptz_to_char(), to_date(), to_timestamp(), walsummary_error_callback(), warn_or_exit_horribly(), and write_stderr().
|
static |
Definition at line 51 of file libpq_pipeline.c.
Referenced by test_pipeline_abort().
|
static |
Definition at line 53 of file libpq_pipeline.c.
Referenced by test_pipelined_insert().
|
static |
Definition at line 34 of file libpq_pipeline.c.
Referenced by usage().
|
static |
Definition at line 37 of file libpq_pipeline.c.
Referenced by main().