1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

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.
This commit is contained in:
Tom Lane
2002-04-17 20:57:57 +00:00
parent d85a81cbc3
commit 27a54ae282
25 changed files with 445 additions and 170 deletions

View File

@ -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 */