PG_DISCONNECT(n)
π PG_DISCONNECT() β the PostgreSQL Tcl Interface Documentation one, bestie
Okay so bestie, real talk: this is the page for pg_disconnect from the PostgreSQL Tcl Interface Documentation, and it's lowkey the shortest glow-up ever β it's literally just "say bye to your server connection." Iconic. Let's get into it. π¦
β¨ NAME β¨
pg_disconnect β close a connection to the server, no cap π«Ά
β¨ SYNOPSIS β¨
pg_disconnect conn
That's it. That's the whole vibe. One arg, one job. π
β¨ DESCRIPTION β¨
pg_disconnect closes a connection to the PostgreSQL server. Fr fr, that's the entire personality β you hand it a connection and it hangs up. It's giving "leaving the group chat" energy, and honestly? Slay. π
Heads up bestie: this closes the connection, periodt. Make sure you're done with it before you do the thing. π
β¨ ARGUMENTS β¨
connβ the handle of the connection to be closed. That's your main character right there π β it's the connection you're saying bye to.
β¨ RETURN VALUE β¨
None. Not a thing. Zero. Nada. It returns nothing and honestly it doesn't owe you an explanation π
And that's the whole page, bestie β short, sweet, and absolutely ate. β¨
Cute little sign-off: this cutie comes to you courtesy of the PostgreSQL Tcl Interface Documentation, dated 17 September 2020. Go close some connections responsibly π§π
π¦ 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