Re: arrays returned in text format - Mailing list pgsql-general

From Konstantin Izmailov
Subject Re: arrays returned in text format
Date
Msg-id CAAw-MseTO+U0js2AbbkqiX-BS-C9F6Vcwskh3hftN3+jAKKMdQ@mail.gmail.com
Whole thread Raw
In response to Re: arrays returned in text format  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: arrays returned in text format  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom, that was only a modification for the client-side libpq. The PG is standard, we are using both 9.4 and 9.5 that were officially released.

I guess there is no standard test for the scenario. But if such test was created (for checking the format of the returned arrays) it would fail. Maybe I'm wrong, I'm not sure.

The only issue currently is a slow performance on parsing text representation. Whole point of my question was why PG does not return binary formatted field when requested (this is a feature supported in the protocol).


On Fri, Mar 4, 2016 at 10:32 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Konstantin Izmailov <pgfizm@gmail.com> writes:
> Oops, I forgot to mention that we slightly modified libpq to request
> resulting fields formats (since Postgres protocol v3 supports this).

Um.  I'm not that excited about supporting bugs in modified variants of
PG.  If you can present a test case that fails in stock community source
code, I'll be happy to take a look.

                        regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: arrays returned in text format
Next
From: Tom Lane
Date:
Subject: Re: arrays returned in text format