Re: jsonb_delete not documented

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: jsonb_delete not documented
Дата
Msg-id 29729.1449456691@sss.pgh.pa.us
обсуждение исходный текст
Ответ на jsonb_delete not documented  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: jsonb_delete not documented  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.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=# \df+ jsonb_delete                                                                             List of
functions Schema   |     Name     | Result data type | Argument data types |  Type  | Security | Volatility |  Owner
|Language |   Source code    |         Description          
 

------------+--------------+------------------+---------------------+--------+----------+------------+----------+----------+------------------+------------------------------pg_catalog
|jsonb_delete | jsonb            | jsonb, integer      | normal | invoker  | immutable  | postgres | internal |
jsonb_delete_idx| implementation of - operatorpg_catalog | jsonb_delete | jsonb            | jsonb, text         |
normal| invoker  | immutable  | postgres | internal | jsonb_delete     | implementation of - operator
 
(2 rows)

regression=# \do+ -
...pg_catalog | -    | jsonb                       | integer                     | jsonb                       |
pg_catalog.jsonb_delete| delete array elementpg_catalog | -    | jsonb                       | text
  | jsonb                       | pg_catalog.jsonb_delete | delete object field
 
...
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Redundant sentence within INSERT documentation page (exclusion constraints)
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Logical replication and multimaster