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:
10
src/backend/utils/cache/syscache.c
vendored
10
src/backend/utils/cache/syscache.c
vendored
@ -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 */
|
||||
|
Reference in New Issue
Block a user