Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite3f9c16

Browse files
committed
Fix bogus commutator/negator links for JSONB containment operators.
<@ and @> are each other's commutators, but they were incorrectly markedas being each other's negators instead. (This was actually questionedin a comment in the original commit, but nobody followed through :-(.)Per bug #11178 from Christian Pronovost.In passing, fix some JSONB operator descriptions that were randomlydifferent from the phrasing of every other similar description.catversion bump for pg_catalog contents change.
1 parent9ee9ca5 commite3f9c16

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

‎src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/*yyyymmddN */
56-
#defineCATALOG_VERSION_NO201408141
56+
#defineCATALOG_VERSION_NO201408162
5757

5858
#endif

‎src/include/catalog/pg_operator.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1792,20 +1792,19 @@ DESCR("less than");
17921792
DATA(insertOID=3243 (">"PGNSPPGUIDbff380238021632423244jsonb_gtscalargtselscalargtjoinsel ));
17931793
DESCR("greater than");
17941794
DATA(insertOID=3244 ("<="PGNSPPGUIDbff380238021632453243jsonb_lescalarltselscalarltjoinsel ));
1795-
DESCR("less than or equal to");
1795+
DESCR("less than or equal");
17961796
DATA(insertOID=3245 (">="PGNSPPGUIDbff380238021632443242jsonb_gescalargtselscalargtjoinsel ));
1797-
DESCR("greater than or equal to");
1798-
/* No commutator? */
1799-
DATA(insertOID=3246 ("@>"PGNSPPGUIDbff380238021603250jsonb_containscontselcontjoinsel ));
1797+
DESCR("greater than or equal");
1798+
DATA(insertOID=3246 ("@>"PGNSPPGUIDbff380238021632500jsonb_containscontselcontjoinsel ));
18001799
DESCR("contains");
18011800
DATA(insertOID=3247 ("?"PGNSPPGUIDbff3802251600jsonb_existscontselcontjoinsel ));
18021801
DESCR("exists");
18031802
DATA(insertOID=3248 ("?|"PGNSPPGUIDbff380210091600jsonb_exists_anycontselcontjoinsel ));
18041803
DESCR("exists any");
18051804
DATA(insertOID=3249 ("?&"PGNSPPGUIDbff380210091600jsonb_exists_allcontselcontjoinsel ));
18061805
DESCR("exists all");
1807-
DATA(insertOID=3250 ("<@"PGNSPPGUIDbff380238021603246jsonb_containedcontselcontjoinsel ));
1808-
DESCR("contained");
1806+
DATA(insertOID=3250 ("<@"PGNSPPGUIDbff380238021632460jsonb_containedcontselcontjoinsel ));
1807+
DESCR("iscontained by");
18091808

18101809
/*
18111810
* function prototypes

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp