PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
void | SetCancelConn (PGconn *conn) |
void | ResetCancelConn (void) |
void | setup_cancel_handler (void(*query_cancel_callback)(void)) |
Variables | |
PGDLLIMPORT volatile sig_atomic_t | CancelRequested |
void ResetCancelConn | ( | void | ) |
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().
void SetCancelConn | ( | PGconn * | conn | ) |
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().
void setup_cancel_handler | ( | void(*)(void) | query_cancel_callback | ) |
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(), and runInitSteps().
|
extern |
Definition at line 59 of file cancel.c.
Referenced by handle_sigint(), initPopulateTable(), main(), reindex_one_database(), select_loop(), and vacuum_one_database().