1DBLINK_IS_BUSY(3)        PostgreSQL 12.6 Documentation       DBLINK_IS_BUSY(3)
2
3
4

NAME

6       dblink_is_busy - checks if connection is busy with an async query
7

SYNOPSIS

9       dblink_is_busy(text connname) returns int
10

DESCRIPTION

12       dblink_is_busy tests whether an async query is in progress.
13

ARGUMENTS

15       connname
16           Name of the connection to check.
17

RETURN VALUE

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

EXAMPLES

23           SELECT dblink_is_busy('dtest1');
24
25
26
27PostgreSQL 12.6                      2021                    DBLINK_IS_BUSY(3)
Impressum