#include "postgres_fe.h"
#include <unistd.h>
#include "common/connect.h"
#include "fe_utils/cancel.h"
#include "fe_utils/string_utils.h"
Go to the source code of this file.
Definition at line 153 of file cancel.c.
References cancel_callback, cancel_not_sent_msg, cancel_sent_msg, cancelConn, CancelRequested, PQcancel(), and write_stderr.
Referenced by setup_cancel_handler().
Definition at line 107 of file cancel.c.
References cancelConn, and PQfreeCancel().
Referenced by CheckConnection(), consumeQueryResult(), do_connect(), do_lo_export(), do_lo_import(), do_lo_unlink(), executeMaintenanceCommand(), HandleCopyResult(), PSQLexec(), PSQLexecWatch(), runInitSteps(), SendQuery(), and wait_on_slots().
Definition at line 77 of file cancel.c.
References cancelConn, conn, PQfreeCancel(), and PQgetCancel().
Referenced by consumeQueryResult(), do_lo_export(), do_lo_import(), do_lo_unlink(), executeMaintenanceCommand(), HandleCopyResult(), PSQLexec(), PSQLexecWatch(), runInitSteps(), SendQuery(), and wait_on_slots().
Definition at line 183 of file cancel.c.
References _, cancel_callback, cancel_not_sent_msg, cancel_sent_msg, handle_sigint(), and pqsignal.
Referenced by main(), psql_setup_cancel_handler(), runInitSteps(), and vacuuming_main().
Definition at line 68 of file cancel.c.
Referenced by handle_sigint(), and setup_cancel_handler().
Definition at line 50 of file cancel.c.
Referenced by handle_sigint(), and setup_cancel_handler().
Definition at line 49 of file cancel.c.
Referenced by handle_sigint(), and setup_cancel_handler().
Definition at line 43 of file cancel.c.
Referenced by disconnectDatabase(), handle_sigint(), PQcancelBlocking(), PQcancelCreate(), PQcancelErrorMessage(), PQcancelFinish(), PQcancelPoll(), PQcancelReset(), PQcancelSocket(), PQcancelStart(), PQcancelStatus(), PQsendCancelRequest(), ResetCancelConn(), SetCancelConn(), and test_cancel().
Definition at line 59 of file cancel.c.
Referenced by handle_sigint(), initPopulateTable(), main(), reindex_one_database(), select_loop(), and vacuum_one_database().