PG_ISBUSY(n)
π NAME π
pg_isbusy β see if a query is busy. okay bestie, you're in the PostgreSQL Tcl Interface Documentation, and this is the page for pg_isbusy. It's giving tiny-but-iconic. π
β¨ SYNOPSIS β¨
pg_isbusy conn
π¦ DESCRIPTION π¦
okay so pg_isbusy checks to see if the backend is busy handling a query or not. That's the whole vibe check, no cap. π
πΈ ARGUMENTS πΈ
connβ the handle of a connection to the database in which the large object exists. That's your connection handle, bestie, and yes it says large object β iykyk. π«Ά
β RETURN VALUE β
It returns 1 if the backend is busy β and in that case, a call to pg_getresult would block. Otherwise it returns 0. So 1 = busy/blocky situation π, 0 = not busy, slay. π₯
mwah π this page comes from the PostgreSQL Tcl Interface Documentation and is dated 17 September 2020. byeeee πβ¨
π¦ where this page comes from
- alpine 3.22: pgtcl-doc 3.1.0-r0 Β· BSD-3-Clause
- alpine 3.23: pgtcl-doc 3.1.1-r0 Β· BSD-3-Clause
- alpine 3.24: pgtcl-doc 3.1.1-r0 Β· BSD-3-Clause
- nixpkgs unstable: pgtcl 3.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms