omni_csv
CSV toolkit
Repository
https://docs.omnigres.org/omni_csv/
https://docs.omnigres.org/omni_csv/
Source
omnigres-20251108.tar.gz
omnigres-20251108.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
omni_csv | 0.1.1 | FEAT | Apache-2.0 | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 2946 | omni_csv | No | Yes | No | Yes | No | No | omni_csv |
| Related | file_fdw pg_csv pg_bulkload aws_s3 pg_parquet pg_lake log_fdw pg_fact_loader pg_ducklake pg_sqlog |
|---|
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.1.1 | 1817161514 | omni_csv | - |
| RPM | PIGSTY | 0.1.1 | 1817161514 | omnigres_$v | - |
| DEB | PIGSTY | 0.1.1 | 1817161514 | postgresql-$v-omnigres | - |
Build
You can build the RPM / DEB packages for omni_csv using pig build:
Install
You can install omni_csv directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
The omni_csv extension provides CSV parsing, inspection, and generation functions.
Inspect CSV Structure
Parse CSV into Records
Column structure must be specified using the AS t(...) clause and should match the CSV structure.
Generate CSV from Query Results
Returns CSV text with headers and properly escaped values. Returns empty string on empty result sets.
Limitations
- Large CSV strings are processed entirely in memory (no streaming)
- Column types must be declared in the
AS t(...)clause - Consider materializing parsed data for repeated access
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)