PG_GETRESULT(n)
π PG_GETRESULT() π
okay bestie, welcome to the PG_GETRESULT() page from the PostgreSQL Tcl Interface Documentation β¨ This one is short, sweet, and all about checking on your async query results β no cap.
πΈ NAME πΈ
pg_getresult β process asychronous results (yes, that's the spelling on the page, bestie π).
β¨ SYNOPSIS β¨
pg_getresult conn
π¦ DESCRIPTION π¦
okay so pg_getresult checks to see if any commands issued by pg_sendquery have completed π
.
It will return the same sort of result handle that pg_exec returns β iconic consistency, fr fr.
If there is no query currently being processed or all of the results have been obtained, pg_getresult returns nothing. literally nothing, bestie π.
π ARGUMENTS π
connβ The handle of a connection to the database to which asynchronous requests are being issued π«Ά.
π RETURN VALUE π
If a query result is available, a command result object is returned. This handle can be passed to pg_result to obtain the results of the command π.
If there is no query currently being processed or all of the results have been obtained, pg_getresult returns nothing. same energy as before, no cap π.
xoxo π β from the PostgreSQL Tcl Interface Documentation, dated 17 September 2020 β¨π«Ά
π¦ 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