Re: Postgres read jsonb content from stdin - Mailing list pgsql-general

From B Anderson
Subject Re: Postgres read jsonb content from stdin
Date
Msg-id CAGrpgQ-cJ91JYCO5PsBauVYuzOYTY4F3vttd4GiZ++YMDCYk7w@mail.gmail.com
Whole thread Raw
In response to Postgres read jsonb content from stdin  (Markur Sens <markursens@gmail.com>)
List pgsql-general

On Sat, Dec 26, 2020 at 3:19 AM Markur Sens <markursens@gmail.com> wrote:
I'm trying to build a few data pipelines with Unix tools but can't figure out how to insert in a slurp mode (e.g. not COPY line by line) content inside a variable.
<snip>
The question is, how can I achieve the same result, without having to hit the disk due. to the temporary file.

A potential alternative to the FDW Ian Barwick mentioned could be https://github.com/pramsey/pgsql-http, which allows you to make a curl call from within Postgres directly. 

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with ssl and psql in Postgresql 13
Next
From: Brajendra Pratap Singh
Date:
Subject: Partitioned Table conversion to Non-Partition table in postgresql open source