From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Dave Cramer <pg(at)fastcrypt(dot)com> |
Cc: | "Gerson(dot)Stadlmann(at)ifco(dot)com" <Gerson(dot)Stadlmann(at)ifco(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Bug in JDBC.driver CopyManager method when copying json output |
Date: | 2018-10-20 14:44:05 |
Message-ID: | CAKFQuwbH-kJyMGPoMGQdW_FscojOZd60zqDX+SUPEBhZZ86ooA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
The backend is respecting the documented meanings and usage of the QUOTE
and ESCAPE options of COPY.
Not sure what a JSON mode would look like though I’m thinking it’s not what
was described here...
For now you either need to fiddle with those options of COPY or avoid it
and generate your own output document. Didn’t try but I do presume feeding
the output to COPY FROM reaults in a valid import.
David J.
On Saturday, October 20, 2018, Dave Cramer <pg(at)fastcrypt(dot)com> wrote:
> I suggest this is a backend problem...
>
>
>
> On Fri, 19 Oct 2018 at 10:12, Stadlmann, Gerson <Gerson(dot)Stadlmann(at)ifco(dot)com>
> wrote:
>
>> Dear JDBC-Devs,
>>
>> i think i found an escaping bug that causes duplicate escaping with
>> backslash when using jdbc drivers CopyManager with JSON results.
>>
>>
>>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2018-10-20 15:56:04 | Re: ⚠ Re: Bug in JDBC.driver CopyManager method when copying json output |
Previous Message | Stadlmann, Gerson | 2018-10-20 14:25:08 | Re: ⚠ Re: Bug in JDBC.driver CopyManager method when copying json output |