MCPcopy Create free account
hub / github.com/apache/cloudberry / disable_statement_timeout

Function disable_statement_timeout

src/backend/tcop/postgres.c:6434–6439  ·  view source on GitHub ↗

* Disable statement timeout, if active. */

Source from the content-addressed store, hash-verified

6432 * Disable statement timeout, if active.
6433 */
6434static void
6435disable_statement_timeout(void)
6436{
6437 if (get_timeout_active(STATEMENT_TIMEOUT))
6438 disable_timeout(STATEMENT_TIMEOUT, false);
6439}
6440
6441/*
6442 * GPDB: Enable the IdleGangTimeoutHandler to disconnect and destroy idle

Callers 3

exec_simple_queryFunction · 0.85
exec_execute_messageFunction · 0.85
finish_xact_commandFunction · 0.85

Calls 2

get_timeout_activeFunction · 0.85
disable_timeoutFunction · 0.85

Tested by

no test coverage detected