Correction

Started by Gokhan Demirover 8 years ago3 messagesdocs
Jump to latest
#1Gokhan Demir
demirgokhan@gmail.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Gokhan Demir (#1)
Re: Correction

demirgokhan@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

#3Gokhan Demir
demirgokhan@gmail.com
In reply to: Tom Lane (#2)
Re: [DOCS] Correction

Hi Tom,

Then I guess I will need to read that part of the chapter again.
Many thanks for the clarification.

Gokhan.

On Mon, Nov 20, 2017 at 12:17 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Show quoted text

demirgokhan@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&#39;t be below statement:

&quot;Although the jsonb_path_ops operator class supports only queries

with the

@&gt; operator, it has notable performance advantages over the default

operator

class jsonb_ops.&quot;

corrected to:

&quot;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.&quot;

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