1DBLINK_IS_BUSY(3) PostgreSQL 15.4 Documentation DBLINK_IS_BUSY(3)
2
3
4
6 dblink_is_busy - checks if connection is busy with an async query
7
9 dblink_is_busy(text connname) returns int
10
12 dblink_is_busy tests whether an async query is in progress.
13
15 connname
16 Name of the connection to check.
17
19 Returns 1 if connection is busy, 0 if it is not busy. If this function
20 returns 0, it is guaranteed that dblink_get_result will not block.
21
23 SELECT dblink_is_busy('dtest1');
24
25
26
27PostgreSQL 15.4 2023 DBLINK_IS_BUSY(3)