1DBLINK_CANCEL_QUERY(3) PostgreSQL 13.3 Documentation DBLINK_CANCEL_QUERY(3)
2
3
4
6 dblink_cancel_query - cancels any active query on the named connection
7
9 dblink_cancel_query(text connname) returns text
10
12 dblink_cancel_query attempts to cancel any query that is in progress on
13 the named connection. Note that this is not certain to succeed (since,
14 for example, the remote query might already have finished). A cancel
15 request simply improves the odds that the query will fail soon. You
16 must still complete the normal query protocol, for example by calling
17 dblink_get_result.
18
20 connname
21 Name of the connection to use.
22
24 Returns OK if the cancel request has been sent, or the text of an error
25 message on failure.
26
28 SELECT dblink_cancel_query('dtest1');
29
30
31
32PostgreSQL 13.3 2021 DBLINK_CANCEL_QUERY(3)