Re: json accessors - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: json accessors
Date
Msg-id 50BE3B7B.8090703@agliodbs.com
Whole thread Raw
In response to Re: json accessors  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: json accessors
List pgsql-hackers
> Yes, you are, rather. It might be possible to do something like:
> 
>     json_get(json, variadic text) => json

Given that I already do the equivalent in Python, this would suit me
well.  Not sure about other users ...

> as long as it doesn't involve any testing beyond field name  / array
> index equivalence.

I'm sure people will *ask* for more in the future, but you could do a
LOT with just an equivalence version.

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



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: WIP: store additional info in GIN index
Next
From: Michael Meskes
Date:
Subject: Re: [PATCH] Patch to fix libecpg.so for isinf missing