DBLINK_IS_BUSY(3)

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

okay bestie, this page is straight out of the PostgreSQL 15.19 Documentation and it's literally about one tiny function: dblink_is_busy. No cap, it checks if a connection is busy with an async query. πŸ¦‹


✨ NAME ✨

dblink_is_busy β€” checks if connection is busy with an async query. πŸ‘‘

🌸 SYNOPSIS 🌸

dblink_is_busy(text connname) returns int

πŸŽ€ DESCRIPTION πŸŽ€

dblink_is_busy tests whether an async query is in progress. That's the whole vibe check, bestie. πŸ’…

🧚 ARGUMENTS 🧚

  • connname β€” name of the connection to check. Slay, just tell it which connection you're looking at. ✨

πŸ”₯ RETURN VALUE πŸ”₯

Returns 1 if connection is busy, 0 if it is not busy. If this function returns 0, it is guaranteed that dblink_get_result will not block. Iconic. πŸ™ˆ

πŸ“ EXAMPLES πŸ“

SELECT dblink_is_busy('dtest1');

mwah πŸ’‹ β€” this cutie is from PostgreSQL 15.19, dated 2026, and the manual page is DBLINK_IS_BUSY(3). periodt. πŸ‘‘

πŸ“¦ where this page comes from