From 27a54ae282d74ee471a5b34d136fe3d4f894a9de Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 17 Apr 2002 20:57:57 +0000 Subject: 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. --- src/backend/utils/cache/syscache.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/backend/utils/cache/syscache.c') 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 */ -- cgit v1.2.3