Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
7e5e7ab7
Commit
7e5e7ab7
authored
25 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Update opclass to be non-unique.
parent
838fb5c2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/include/catalog/indexing.h
+3
-2
3 additions, 2 deletions
src/include/catalog/indexing.h
src/include/catalog/pg_opclass.h
+4
-7
4 additions, 7 deletions
src/include/catalog/pg_opclass.h
with
7 additions
and
9 deletions
src/include/catalog/indexing.h
+
3
−
2
View file @
7e5e7ab7
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: indexing.h,v 1.
29
1999/11/2
2 17:56
:3
7
momjian Exp $
* $Id: indexing.h,v 1.
30
1999/11/2
3 04:47
:3
9
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -182,7 +182,8 @@ DECLARE_UNIQUE_INDEX(pg_inherits_relid_seqno_index on pg_inherits using btree(in
...
@@ -182,7 +182,8 @@ DECLARE_UNIQUE_INDEX(pg_inherits_relid_seqno_index on pg_inherits using btree(in
DECLARE_UNIQUE_INDEX
(
pg_language_name_index
on
pg_language
using
btree
(
lanname
name_ops
));
DECLARE_UNIQUE_INDEX
(
pg_language_name_index
on
pg_language
using
btree
(
lanname
name_ops
));
DECLARE_UNIQUE_INDEX
(
pg_language_oid_index
on
pg_language
using
btree
(
oid
oid_ops
));
DECLARE_UNIQUE_INDEX
(
pg_language_oid_index
on
pg_language
using
btree
(
oid
oid_ops
));
DECLARE_UNIQUE_INDEX
(
pg_listener_relname_pid_index
on
pg_listener
using
btree
(
relname
name_ops
,
listenerpid
int4_ops
));
DECLARE_UNIQUE_INDEX
(
pg_listener_relname_pid_index
on
pg_listener
using
btree
(
relname
name_ops
,
listenerpid
int4_ops
));
DECLARE_UNIQUE_INDEX
(
pg_opclass_deftype_index
on
pg_opclass
using
btree
(
opcdeftype
oid_ops
));
/* This column needs to allow multiple zero entries, but is in the cache */
DECLARE_INDEX
(
pg_opclass_deftype_index
on
pg_opclass
using
btree
(
opcdeftype
oid_ops
));
DECLARE_UNIQUE_INDEX
(
pg_opclass_name_index
on
pg_opclass
using
btree
(
opcname
name_ops
));
DECLARE_UNIQUE_INDEX
(
pg_opclass_name_index
on
pg_opclass
using
btree
(
opcname
name_ops
));
DECLARE_UNIQUE_INDEX
(
pg_operator_oid_index
on
pg_operator
using
btree
(
oid
oid_ops
));
DECLARE_UNIQUE_INDEX
(
pg_operator_oid_index
on
pg_operator
using
btree
(
oid
oid_ops
));
DECLARE_UNIQUE_INDEX
(
pg_operator_oprname_l_r_k_index
on
pg_operator
using
btree
(
oprname
name_ops
,
oprleft
oid_ops
,
oprright
oid_ops
,
oprkind
char_ops
));
DECLARE_UNIQUE_INDEX
(
pg_operator_oprname_l_r_k_index
on
pg_operator
using
btree
(
oprname
name_ops
,
oprleft
oid_ops
,
oprright
oid_ops
,
oprkind
char_ops
));
...
...
This diff is collapsed.
Click to expand it.
src/include/catalog/pg_opclass.h
+
4
−
7
View file @
7e5e7ab7
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: pg_opclass.h,v 1.2
1
1999/11/2
2 17:56
:3
7
momjian Exp $
* $Id: pg_opclass.h,v 1.2
2
1999/11/2
3 04:47
:3
9
momjian Exp $
*
*
* NOTES
* NOTES
* the genbki.sh script reads this file and generates .bki
* the genbki.sh script reads this file and generates .bki
...
@@ -68,11 +68,9 @@ DATA(insert OID = 422 ( box_ops 603 ));
...
@@ -68,11 +68,9 @@ DATA(insert OID = 422 ( box_ops 603 ));
DESCR
(
""
);
DESCR
(
""
);
DATA
(
insert
OID
=
423
(
float8_ops
701
));
DATA
(
insert
OID
=
423
(
float8_ops
701
));
DESCR
(
""
);
DESCR
(
""
);
/* Technically, deftype is wrong, but it must be unique for index, bjm */
DATA
(
insert
OID
=
424
(
int24_ops
0
));
DATA
(
insert
OID
=
424
(
int24_ops
424
));
DESCR
(
""
);
DESCR
(
""
);
/* Technically, deftype is wrong, but it must be unique for index, bjm */
DATA
(
insert
OID
=
425
(
int42_ops
0
));
DATA
(
insert
OID
=
425
(
int42_ops
425
));
DESCR
(
""
);
DESCR
(
""
);
DATA
(
insert
OID
=
426
(
int4_ops
23
));
DATA
(
insert
OID
=
426
(
int4_ops
23
));
DESCR
(
""
);
DESCR
(
""
);
...
@@ -87,8 +85,7 @@ DATA(insert OID = 431 ( text_ops 25 ));
...
@@ -87,8 +85,7 @@ DATA(insert OID = 431 ( text_ops 25 ));
DESCR
(
""
);
DESCR
(
""
);
DATA
(
insert
OID
=
432
(
abstime_ops
702
));
DATA
(
insert
OID
=
432
(
abstime_ops
702
));
DESCR
(
""
);
DESCR
(
""
);
/* Technically, deftype is wrong, but it must be unique for index, bjm */
DATA
(
insert
OID
=
433
(
bigbox_ops
603
));
DATA
(
insert
OID
=
433
(
bigbox_ops
433
));
DESCR
(
""
);
DESCR
(
""
);
DATA
(
insert
OID
=
434
(
poly_ops
604
));
DATA
(
insert
OID
=
434
(
poly_ops
604
));
DESCR
(
""
);
DESCR
(
""
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment