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

From Josh Berkus
Subject Re: bug in json_to_record with arrays
Date
Msg-id 54769F37.60607@agliodbs.com
Whole thread Raw
In response to bug in json_to_record with arrays  (Josh Berkus <josh@agliodbs.com>)
Responses Re: bug in json_to_record with arrays  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 11/26/2014 12:48 PM, Tom Lane wrote:
> Wouldn't it be better if it said
> 
>      ERROR:  invalid input syntax for array: "["potter","chef","programmer"]"
>      DETAIL: Dimension value is missing.
> 
> which is comparable to what you'd get out of most other input functions
> that were feeling indigestion?

Yes, it most definitely would be better.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: The problems of PQhost()
Next
From: Michael Paquier
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes