Closed
Description
Is it possible to insert into and read from a BYTEA column without fetching the entire binary data in memory?
For example, I have this table:
create table SAMPLE_BINARY_STORE (
filename TEXT NOT NULL,
data BYTEA
);
I would like to:
- INSERT a new row into the table by streaming the data from an async source (e.g. a file on the client filesystem or an HTTP request, etc.)
- perform a SELECT by filename and stream the data directly into an async destination (e.g. a file, an HTTP response) without fetching the entire data in memory.
Is there a way to achieve it?
Would my issue be solved by #36 ?
Please note that I cannot use Postgres Large Objects.
Metadata
Metadata
Assignees
Labels
No labels