diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-17 20:57:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-17 20:57:57 +0000 |
commit | 27a54ae282d74ee471a5b34d136fe3d4f894a9de (patch) | |
tree | 59aedb6b78d8b4ff8f26f6a945799a443dd6d571 /src/backend/utils/cache/syscache.c | |
parent | d85a81cbc384614eec525ca19e1cf48687643725 (diff) | |
download | postgresql-27a54ae282d74ee471a5b34d136fe3d4f894a9de.tar.gz postgresql-27a54ae282d74ee471a5b34d136fe3d4f894a9de.zip |
Opclasses live in namespaces. I also took the opportunity to create
an 'opclass owner' column in pg_opclass. Nothing is done with it at
present, but since there are plans to invent a CREATE OPERATOR CLASS
command soon, we'll probably want DROP OPERATOR CLASS too, which
suggests that a notion of ownership would be a good idea.
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
-rw-r--r-- | src/backend/utils/cache/syscache.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c index 720d19225c6..5deea860897 100644 --- a/src/backend/utils/cache/syscache.c +++ b/src/backend/utils/cache/syscache.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.77 2002/04/16 23:08:11 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.78 2002/04/17 20:57:56 tgl Exp $ * * NOTES * These routines allow the parser/planner/executor to perform @@ -173,14 +173,14 @@ static const struct cachedesc cacheinfo[] = { 0, 0 }}, - {OperatorClassRelationName, /* CLAAMNAME */ - OpclassAmNameIndex, + {OperatorClassRelationName, /* CLAAMNAMENSP */ + OpclassAmNameNspIndex, 0, - 2, + 3, { Anum_pg_opclass_opcamid, Anum_pg_opclass_opcname, - 0, + Anum_pg_opclass_opcnamespace, 0 }}, {OperatorClassRelationName, /* CLAOID */ |