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
4bad5be7
Commit
4bad5be7
authored
27 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Fix SCO and change index name.
parent
660f458d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/include/catalog/indexing.h
+5
-5
5 additions, 5 deletions
src/include/catalog/indexing.h
src/include/utils/memutils.h
+6
-1
6 additions, 1 deletion
src/include/utils/memutils.h
with
11 additions
and
6 deletions
src/include/catalog/indexing.h
+
5
−
5
View file @
4bad5be7
...
...
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: indexing.h,v 1.1
2
199
7/11/17 16:59:34
momjian Exp $
* $Id: indexing.h,v 1.1
3
199
8/01/11 21:03:01
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -33,8 +33,8 @@
/*
* Names of indices on system catalogs
*/
#define AttributeNameIndex "pg_attribute_
mkoid
nam
e
_index"
#define AttributeNumIndex "pg_attribute_
mkoidint2
_index"
#define AttributeNameIndex "pg_attribute_
relid_att
nam_index"
#define AttributeNumIndex "pg_attribute_
relid_attnum
_index"
#define AttributeRelidIndex "pg_attribute_attrelid_index"
#define ProcedureOidIndex "pg_proc_oid_index"
#define ProcedureNameIndex "pg_proc_proname_index"
...
...
@@ -100,8 +100,8 @@ extern HeapTuple ClassOidIndexScan(Relation heapRelation, Oid relId);
* The keyword is DECLARE_INDEX every thing after that is just like in a
* normal specification of the 'define index' POSTQUEL command.
*/
DECLARE_INDEX
(
pg_attribute_
mkoid
nam
e
_index
on
pg_attribute
using
btree
(
mkoidname
(
attrelid
,
attname
)
oidname_ops
));
DECLARE_INDEX
(
pg_attribute_
mkoidint2
_index
on
pg_attribute
using
btree
(
mkoidint2
(
attrelid
,
attnum
)
oidint2_ops
));
DECLARE_INDEX
(
pg_attribute_
relid_att
nam_index
on
pg_attribute
using
btree
(
mkoidname
(
attrelid
,
attname
)
oidname_ops
));
DECLARE_INDEX
(
pg_attribute_
relid_attnum
_index
on
pg_attribute
using
btree
(
mkoidint2
(
attrelid
,
attnum
)
oidint2_ops
));
DECLARE_INDEX
(
pg_attribute_attrelid_index
on
pg_attribute
using
btree
(
attrelid
oid_ops
));
DECLARE_INDEX
(
pg_proc_oid_index
on
pg_proc
using
btree
(
oid
oid_ops
));
...
...
This diff is collapsed.
Click to expand it.
src/include/utils/memutils.h
+
6
−
1
View file @
4bad5be7
...
...
@@ -15,7 +15,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: memutils.h,v 1.1
1
199
7
/0
9/08 20:59:22
momjian Exp $
* $Id: memutils.h,v 1.1
2
199
8
/0
1/11 21:03:10
momjian Exp $
*
* NOTES
* some of the information in this file will be moved to
...
...
@@ -82,11 +82,16 @@ s...)
(((long)(LEN) + (sizeof (long) - 1)) & ~(sizeof (long) -1))
#endif
#if ! defined(sco)
#define DOUBLEALIGN(LEN)\
(((long)(LEN) + (sizeof (double) - 1)) & ~(sizeof (double) -1))
#define MAXALIGN(LEN)\
(((long)(LEN) + (sizeof (double) - 1)) & ~(sizeof (double) -1))
#else
#define DOUBLEALIGN(LEN) INTALIGN(LEN)
#define MAXALIGN(LEN) INTALIGN(LEN)
#endif
/*****************************************************************************
* oset.h -- Fixed format ordered set definitions. *
...
...
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