From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: jsonb_delete not documented |
Date: | 2015-12-07 03:44:46 |
Message-ID: | 566500AE.7020707@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 12/6/15 9:51 PM, Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
>> The new function jsonb_delete does not appear to be documented. Is that
>> intentional?
>
>> The only thing that's documented is the #- operator for
>> jsonb_delete_path. But jsonb_delete(jsonb, text) and
>> jsonb_delete(jsonb, int) are not documented. (Those don't have an
>> operator.)
>
> Yeah they do ...
> regression=# \do+ -
> ...
> pg_catalog | - | jsonb | integer | jsonb | pg_catalog.jsonb_delete | delete array element
> pg_catalog | - | jsonb | text | jsonb | pg_catalog.jsonb_delete | delete object field
> ...
I see. The reference from pg_operator to pg_proc is by OID rather than
function name, so I didn't find them. Is that because the function is
overloaded? It's kind of odd that these are the only operators (at
first glance) that are set up like that.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-12-07 03:49:15 | Re: jsonb_delete not documented |
Previous Message | Peter Geoghegan | 2015-12-07 03:28:48 | Re: Re: Reusing abbreviated keys during second pass of ordered [set] aggregates |