Re: Importing a Large .ndjson file - Mailing list pgsql-general

From Sankar P
Subject Re: Importing a Large .ndjson file
Date
Msg-id CAMSEaH4M1v_umOP=H-rOmW=oLkHYRFuZ9Ed11-TeqOeGxX8V5A@mail.gmail.com
Whole thread Raw
In response to Re: Importing a Large .ndjson file  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Importing a Large .ndjson file  (Sankar P <sankar.curiosity@gmail.com>)
List pgsql-general
> It looks like plain old COPY would do this just fine, along the lines
> of (in psql)
>
> \copy myTable(content) from 'myfile.ndjson'
>

Indeed. Thanks.

-- 
Sankar P
http://psankar.blogspot.com



pgsql-general by date:

Previous
From: Matthias Apitz
Date:
Subject: Re: ESQL/C no indicator variables ./. error -213
Next
From: Sankar P
Date:
Subject: Using postgresql and JSONB on very large datasets