DBLINK_IS_BUSY(3)
π dblink_is_busy: the vibe check for your connection π
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
- 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