Skip to content

Commit 866737c

Browse files
committed
Add a #define for the inet overlaps operator.
Extracted from pending inet selectivity patch. The rest of it isn't quite ready to commit, but we might as well push this part so the patch doesn't have to track the moving target of pg_operator.h.
1 parent 1adbb34 commit 866737c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/include/catalog/pg_operator.h

+5-4
Original file line numberDiff line numberDiff line change
@@ -1142,18 +1142,19 @@ DATA(insert OID = 1206 ( ">=" PGNSP PGUID b f f 869 869 16 1204 1203 networ
11421142
DESCR("greater than or equal");
11431143
DATA(insert OID = 931 ( "<<" PGNSP PGUID b f f 869 869 16 933 0 network_sub networksel networkjoinsel ));
11441144
DESCR("is subnet");
1145-
#define OID_INET_SUB_OP 931
1145+
#define OID_INET_SUB_OP 931
11461146
DATA(insert OID = 932 ( "<<=" PGNSP PGUID b f f 869 869 16 934 0 network_subeq networksel networkjoinsel ));
11471147
DESCR("is subnet or equal");
1148-
#define OID_INET_SUBEQ_OP 932
1148+
#define OID_INET_SUBEQ_OP 932
11491149
DATA(insert OID = 933 ( ">>" PGNSP PGUID b f f 869 869 16 931 0 network_sup networksel networkjoinsel ));
11501150
DESCR("is supernet");
1151-
#define OID_INET_SUP_OP 933
1151+
#define OID_INET_SUP_OP 933
11521152
DATA(insert OID = 934 ( ">>=" PGNSP PGUID b f f 869 869 16 932 0 network_supeq networksel networkjoinsel ));
11531153
DESCR("is supernet or equal");
1154-
#define OID_INET_SUPEQ_OP 934
1154+
#define OID_INET_SUPEQ_OP 934
11551155
DATA(insert OID = 3552 ( "&&" PGNSP PGUID b f f 869 869 16 3552 0 network_overlap networksel networkjoinsel ));
11561156
DESCR("overlaps (is subnet or supernet)");
1157+
#define OID_INET_OVERLAP_OP 3552
11571158

11581159
DATA(insert OID = 2634 ( "~" PGNSP PGUID l f f 0 869 869 0 0 inetnot - - ));
11591160
DESCR("bitwise not");

0 commit comments

Comments
 (0)