DBLINK_IS_BUSY
Section: PostgreSQL 15.6 Documentation (3)
Updated: 2024
Index
Return to Main Contents
NAME
dblink_is_busy - checks if connection is busy with an async query
SYNOPSIS
dblink_is_busy(text connname) returns int
DESCRIPTION
dblink_is_busy
tests whether an async query is in progress.
ARGUMENTS
connname
-
Name of the connection to check.
RETURN VALUE
Returns 1 if connection is busy, 0 if it is not busy. If this function returns 0, it is guaranteed that
dblink_get_result
will not block.
EXAMPLES
-
SELECT dblink_is_busy('dtest1');
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN VALUE
-
- EXAMPLES
-
This document was created by
man2html,
using the manual pages.
Time: 00:09:29 GMT, April 25, 2024