DBLINK_CANCEL_QUERY(3)

πŸ“¦ version 14.24, in opensuse-leap 16.0

πŸŽ€ 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