Re: bug in json_to_record with arrays - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bug in json_to_record with arrays
Date
Msg-id 10371.1417480040@sss.pgh.pa.us
Whole thread Raw
In response to Re: bug in json_to_record with arrays  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
Merlin Moncure <mmoncure@gmail.com> writes:
> On Mon, Dec 1, 2014 at 3:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I'd be good with going to "invalid input syntax" if we also change
>> record_in to match.  Anyone have a feeling pro or con about that?

> I don't know.  "malformed array literal" is a mighty big clue that you
> have a bad "postgres format" array literal and will be well supported
> by googling -- this problem isn't new.

Good point about googling, and after all we are already using "malformed
array literal" for a subset of these cases.  Let's stick with that
wording.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: excessive amounts of consumed memory (RSS), triggering OOM killer
Next
From: Tom Lane
Date:
Subject: Re: excessive amounts of consumed memory (RSS), triggering OOM killer