Re: json api WIP patch - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: json api WIP patch
Date
Msg-id 510AEAD7.5070909@gmx.net
Whole thread Raw
In response to Re: json api WIP patch  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: json api WIP patch  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On 1/10/13 6:42 PM, Andrew Dunstan wrote:
> This updated patch contains all the intended functionality, including
> operators for the json_get_path functions, so you can say things like
> 
>     select jsonval->array['f1','0','f2] ...

I would like to not create any -> operators, so that that syntax could
be used in the future for method invocation or something similar (it's
in the SQL standard).

I also don't find the proposed use to be very intuitive.  You invented
lots of other function names -- why not invent a few more for this
purpose that are clearer?




pgsql-hackers by date:

Previous
From: Zoltán Böszörményi
Date:
Subject: Re: Strange Windows problem, lock_timeout test request
Next
From: Andrew Dunstan
Date:
Subject: Re: json api WIP patch