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

Create the pg_namespace system catalog. Doesn't do much yet, but it's

there and CREATE SCHEMA will make entries in it...
This commit is contained in:
Tom Lane
2002-03-22 21:34:44 +00:00
parent 48c9164901
commit a25b94c080
13 changed files with 285 additions and 35 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.68 2002/03/21 23:27:24 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.69 2002/03/22 21:34:44 tgl Exp $
*
* NOTES
* These routines allow the parser/planner/executor to perform
@ -32,6 +32,7 @@
#include "catalog/pg_index.h"
#include "catalog/pg_inherits.h"
#include "catalog/pg_language.h"
#include "catalog/pg_namespace.h"
#include "catalog/pg_opclass.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_proc.h"
@ -263,6 +264,26 @@ static struct cachedesc cacheinfo[] = {
0,
0
}},
{NamespaceRelationName, /* NAMESPACENAME */
NamespaceNameIndex,
0,
1,
{
Anum_pg_namespace_nspname,
0,
0,
0
}},
{NamespaceRelationName, /* NAMESPACEOID */
NamespaceOidIndex,
0,
1,
{
ObjectIdAttributeNumber,
0,
0,
0
}},
{OperatorRelationName, /* OPERNAME */
OperatorNameIndex,
0,