DBLINK_CANCEL_QUERY(3)
π dblink_cancel_query(3) β PostgreSQL 13.23 Documentation π
okay so bestie, this is the manual page for dblink_cancel_query(3), straight outta the PostgreSQL 13.23 docs, and itβs here to help you cancel a query on a connection. iconic behavior, honestly π«Ά
πΈ NAME πΈ
dblink_cancel_query β cancels any active query on the named connection, no cap π
β¨ SYNOPSIS β¨
dblink_cancel_query(text connname) returns text
π¦ DESCRIPTION π¦
okay so dblink_cancel_query attempts to cancel any query that is in progress on the named connection. but bestie, listen: this is not certain to succeed β for example, the remote query might already have finished by the time you ask π. a cancel request simply improves the odds that the query will fail soon. you still have to complete the normal query protocol, for example by calling dblink_get_result. fr fr, donβt skip that part.
π ARGUMENTS π
connnameβ name of the connection to use. thatβs the vibe.
β RETURN VALUE β
Returns OK if the cancel request has been sent, or the text of an error message on failure. periodt.
π₯ EXAMPLES π₯
SELECT dblink_cancel_query('dtest1');
byeee bestie π this page is from PostgreSQL 13.23 and itβs dated 2025 β mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql13-docs 13.23-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