PG_LO_READ(n)
π NAME π
pg_lo_read β read from a large object, bestie! This is the PG_LO_READ() page from the PostgreSQL Tcl Interface Documentation β¨
π SYNOPSIS π
pg_lo_read conn descriptor bufVar len
πΈ DESCRIPTION πΈ
Okay so pg_lo_read reads at most len bytes from a large object into a variable named bufVar. That's the whole vibe π
π¦ ARGUMENTS π¦
connβ the handle of a connection to the database in which the large object exists πdescriptorβ a descriptor for the large object, straight frompg_lo_openπbufVarβ the name of a buffer variable that will contain the large object segment π§Ίlenβ the maximum number of bytes to read π
β RETURN VALUE β
The number of bytes actually read is returned, periodt. This could be less than the number requested if the end of the large object is reached first β lowkey important π In the event of an error, the return value is negative π
That's the whole page, bestie! π«Ά Source/version: PostgreSQL Tcl Interface Documentation; date: 17 September 2020. Mwah π
π¦ 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