pg-large-object

JSON →
library 2.0.0 ·javascript
verified Jun 5, 2026

Large object support for PostgreSQL clients using the node-postgres (pg) library, enabling streaming of files/objects up to 4 TiB in size. Version 2.0.0 is current stable. Supports both callback (backwards compatible) and promise (Async suffix) interfaces. Key differentiator: streams data in chunks instead of loading entire column into memory. Requires PostgreSQL 8.4+ (9.3+ for seek/tell/size/truncate). Works with pg or pg-promise.