Re: json accessors

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: json accessors
Date: 2012-12-04 18:05:47
Message-ID: 50BE3B7B.8090703@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2012-12-04 18:06:02 Re: [PATCH] Patch to fix libecpg.so for isinf missing
Previous Message Andres Freund 2012-12-04 18:05:44 Re: WIP: store additional info in GIN index