Re: pg_dump and insert json with copy

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: basti <mailinglist(at)unix-solution(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump and insert json with copy
Date: 2017-07-21 14:09:38
Message-ID: 29521.1500646178@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

basti <mailinglist(at)unix-solution(dot)de> writes:
> some tables has json type and show the following error at restore time:

> ERROR: syntax error at or near "a"
> LINE 1: a:1:{i:0;
> ^

Is that really the very first error reported by the restore run?
It seems much more likely to be a failure cascading from something else.

In any case, you haven't provided nearly enough information for anyone
else to investigate this problem. Please see
https://wiki.postgresql.org/wiki/Guide_to_reporting_problems

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2017-07-21 14:16:56 Re: Schemas and foreign keys
Previous Message Andreas Kretschmer 2017-07-21 14:07:29 Re: Schemas and foreign keys