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 5006.1417467701@sss.pgh.pa.us
Whole thread Raw
In response to Re: bug in json_to_record with arrays  (Josh Berkus <josh@agliodbs.com>)
Responses Re: bug in json_to_record with arrays  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> On 12/01/2014 12:30 PM, Tom Lane wrote:
>> Code-wise, yeah, but it would put some pressure on the translators.
>> 
>> What did you think of the new error texts in themselves?

> I would prefer "invalid input syntax" to "malformed array literal", but
> I'll take anything we can backpatch.

I think if we're changing them at all, it's about the same cost
no matter what we change them to exactly.

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?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: bug in json_to_record with arrays
Next
From: Merlin Moncure
Date:
Subject: Re: bug in json_to_record with arrays