COPY json
COPY TO can write JSON lines. Write three people to a file and read the file back.
task
Export person_id and full_name of the first 3 people (by person_id) as JSON to /tmp/p.json, then return pg_read_file('/tmp/p.json').
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
COPY TO can write JSON lines. Write three people to a file and read the file back.
Export person_id and full_name of the first 3 people (by person_id) as JSON to /tmp/p.json, then return pg_read_file('/tmp/p.json').