[DOCS] Correction

2017-11-19 Thread demirgokhan
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.4/static/datatype-json.html
Description:

Shouldn't be below statement: 

"Although the jsonb_path_ops operator class supports only queries with the
@> operator, it has notable performance advantages over the default operator
class jsonb_ops."

corrected to:

"Although the jsonb_path_ops operator class supports only queries with the 
?
operator, it has notable performance advantages over the default operator
class jsonb_ops."

on the page https://www.postgresql.org/docs/9.4/static/datatype-json.html

-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


Re: [DOCS] Correction

2017-11-19 Thread Tom Lane
demirgok...@gmail.com writes:
> The following documentation comment has been logged on the website:
> Page: https://www.postgresql.org/docs/9.4/static/datatype-json.html
> Description:

> Shouldn't be below statement: 

> "Although the jsonb_path_ops operator class supports only queries with 
> the
> @> operator, it has notable performance advantages over the default 
> operator
> class jsonb_ops."

> corrected to:

> "Although the jsonb_path_ops operator class supports only queries with 
> the ?
> operator, it has notable performance advantages over the default operator
> class jsonb_ops."

Uh, no, I don't think so:

regression=# select oid from pg_opfamily where opfname = 'jsonb_path_ops';
 oid  
--
 4037
(1 row)

regression=# select amopopr::regoperator from pg_amop where amopfamily = 4037;
 amopopr 
-
 @>(jsonb,jsonb)
(1 row)

regards, tom lane


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs