PG_LO_EXPORT(n)
π PG_LO_EXPORT() π
okay so welcome to the PG_LO_EXPORT() page from the PostgreSQL Tcl Interface Documentation β yes bestie, weβre learning how to export a large object into a file, and honestly? iconic.
πΈ NAME πΈ
pg_lo_export β export a large object to a file
β¨ SYNOPSIS β¨
# π¦ DESCRIPTION π¦
`pg_lo_export` writes the specified large object into a file. Thatβs the whole vibe. It takes your large object and puts it in a file, slay. π
# π ARGUMENTS π
- **`conn`** β the handle of a connection to the database in which the large object exists. Like, your connection to the exact database where the large object is living.
- **`loid`** β the OID of the large object. The literal large-object ID, no cap.
- **`filename`** β specifies the file into which the data is to be exported. This is where the exported data goes, periodt.
# π₯ RETURN VALUE π₯
None. Nothing. Nada. It does not hand you a return value, bestie. π
# π NOTES π
> β οΈ Okay important: `pg_lo_export` must be called within a `BEGIN/COMMIT` transaction block. Do not skip this, fr fr.
---
okay bye bestie π«Ά β this page is from the <lavender>PostgreSQL Tcl Interface Documentation</lavender> and is dated <cyan>17 September 2020</cyan>. go export that large object and serve. π
β¨
π¦ 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