DBLINK_IS_BUSY(3)

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

okay so welcome to the DBLINK_IS_BUSY(3) manual page, bestie. This is the little function that checks if your connection is busy with an async query. It’s giving pulse-check energy, and honestly? iconic.

🌸 NAME 🌸

dblink_is_busy β€” checks if the connection is busy with an async query. That’s the name, that’s the job, no cap.

✨ SYNOPSIS ✨

dblink_is_busy(text connname) returns int

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so dblink_is_busy tests whether an async query is in progress. That’s it. It’s literally the β€œis this still going??” check for your connection. main character energy for async vibes, fr fr.

πŸŽ€ ARGUMENTS πŸŽ€

  • connname β€” the name of the connection you wanna check. That’s the whole argument, bestie.

⭐ RETURN VALUE ⭐

Returns 1 if the connection is busy, and 0 if it is not busy. If this function returns 0, it is guaranteed that dblink_get_result will not block. Highkey important guarantee, okay?? no cap. πŸ’…

πŸ”₯ EXAMPLES πŸ”₯

Run it like this, bestie:

SELECT dblink_is_busy('dtest1');

mwah πŸ’‹ β€” this page is from PostgreSQL 14.24, dated 2026, and it’s the DBLINK_IS_BUSY(3) manual page. slay. ✨

πŸ“¦ where this page comes from