Re: new json funcs
От | Alvaro Herrera |
---|---|
Тема | Re: new json funcs |
Дата | |
Msg-id | 20140110190115.GT6840@eldon.alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: new json funcs (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: new json funcs
|
Список | pgsql-hackers |
Andrew Dunstan wrote: > > On 01/10/2014 12:42 PM, Alvaro Herrera wrote: > >Is it just me, or is the json_array_element(json, int) function not > >documented? > > As discussed at the time, we didn't document the functions > underlying the json operators, just the operators themselves. Oh, I see. That's fine with me. From the source code it's hard to see when a SQL-callable function is only there to implement an operator, though (and it seems a bit far-fetched to suppose that the developer will think, upon seeing an undocumented function, "oh this must implement some operator, I will look it up at pg_proc.h"). I think the operator(s) should be mentioned in the comment on top of the function. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: