PG_BLOCKING(n)
π¦ PG_BLOCKING() π¦
π NAME π
pg_blocking β see or set whether or not a connection is set to blocking or nonblocking. she's part of the PostgreSQL Tcl Interface Documentation, and she's literally here to help you vibe-check your connection. π
β¨ SYNOPSIS β¨
pg_blocking conn [mode]
π DESCRIPTION π
okay so pg_blocking can set the connection to either blocking or nonblocking, and it can also see which way the connection is currently set. two jobs, one icon, she ate. π«Ά
πΈ ARGUMENTS πΈ
connβ the handle of a connection to the database in which the large object exists. yep, that connection. πmodeβ if present, sets the mode of the connection to nonblocking if it's0. otherwise, it sets the connection to blocking. no cap. π
β RETURN VALUE β
- if you call her with the
modeargument, she returns nothing. like, void energy. π«₯ - otherwise, she returns
1if the connection is set for blocking, or0if the connection is set for nonblocking. iconic behavior, honestly. π
π«Ά that's the whole page, bestie β from the PostgreSQL Tcl Interface Documentation, dated 17 September 2020. periodt. π
π¦ 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