pg_isbusy - see if a query is busy

NAME  SYNOPSIS  DESCRIPTION  ARGUMENTS  RETURN VALUE 

NAME

pg_isbusy − see if a query is busy

SYNOPSIS

pg_isbusy conn

DESCRIPTION

pg_isbusy checks to see if the backend is busy handling a query or not.

ARGUMENTS

conn

The handle of a connection to the database in which the large object exists.

RETURN VALUE

Returns 1 if the backend is busy, in which case a call to pg_getresult would block, otherwise it returns 0.


Updated 2024-01-29 - jenkler.se | uex.se