src/backend/gpopt/gpdbwrappers.cpp
bool
gpdb::IsAbortRequested
	(
	void
	)
{
	// No GP_WRAP_START/END needed here. We just check these global flags,
	// it cannot throw an ereport().
	return (QueryCancelPending || ProcDiePending);
}
// returns true if a query cancel is requested in GPDB
returns true if a query cancel is requested in GPDB
returns true if a query cancel is requested in GPDB
bool
gpdb::IsAbortRequested
	(
	void
	)
{
	return (QueryCancelPending || ProcDiePending);
}
bool gpdb :: IsAbortRequested ( void ) { return ( QueryCancelPending || ProcDiePending ) ; }
returns true if a query cancel is requested in GPDB
returns true if a query cancel is requested in GPDB
// No GP_WRAP_START/END needed here. We just check these global flags, // it cannot throw an ereport().