Copy json from couchbase to postgres

From: Rushikesh socha <rushikesh(dot)s(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Copy json from couchbase to postgres
Date: 2020-10-26 20:10:08
Message-ID: CANgP4OLMoEeMO-9O997Ntjvft5vhazK2LRGFTHZzgEW356PFVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Any suggestions on copying .json which is exported from couchbase
using cbexport json. I used copy command but most of them are throwing
error.

pgdocstore=# copy schaname.tablename from 'path/filename.json';
ERROR: invalid input syntax for type json
DETAIL: Token "H" is invalid.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2020-10-26 20:26:49 Re: Copy json from couchbase to postgres
Previous Message Adrian Klaver 2020-10-26 18:28:44 Re: postgis update wants to install postgresql-13