DBLINK_CANCEL_QUERY(3)
π NAME π
okay so this is the DBLINK_CANCEL_QUERY(3) page from PostgreSQL 14.24 Documentation, and it's literally about dblink_cancel_query β cancels any active query on the named connection. no cap. π
β¨ SYNOPSIS β¨
dblink_cancel_query(text connname) returns text
π DESCRIPTION π
dblink_cancel_query attempts to cancel any query that is in progress on the named connection. bestie, hear me: this is not certain to succeed β like, the remote query might already have finished, for example. a cancel request simply improves the odds that the query will fail soon. you must still complete the normal query protocol, for example by calling dblink_get_result. iykyk. π¦
π ARGUMENTS π
connnameβ name of the connection to use. that's the whole argument, slay. β¨
π RETURN VALUE π
returns OK if the cancel request has been sent, or the text of an error message on failure. literally that simple. π
π₯ EXAMPLES π₯
SELECT dblink_cancel_query('dtest1');
that's the example, bestie β copy it exactly, no edits, periodt. π
mwah π source/version: PostgreSQL 14.24; date: 2026 β that's the sign-off, and we are so done. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14-docs 14.24-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms