diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-29 19:06:29 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-29 19:06:29 +0000 |
| commit | d5e99ab4d6718e8ef515575e33fb5c6181cdcc96 (patch) | |
| tree | 6c817d6358f50ae920207245c3b862b2cdd74ceb /src/include/catalog/indexing.h | |
| parent | 7c1ff354105e2256d7904497d8e282ccec53d2e6 (diff) | |
| download | postgresql-d5e99ab4d6718e8ef515575e33fb5c6181cdcc96.tar.gz | |
pg_type has a typnamespace column; system now supports creating types
in different namespaces. Also, cleanup work on relation namespace
support: drop, alter, rename commands work for tables in non-default
namespaces.
Diffstat (limited to 'src/include/catalog/indexing.h')
| -rw-r--r-- | src/include/catalog/indexing.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/catalog/indexing.h b/src/include/catalog/indexing.h index 222e0da51e..1cc15cedf8 100644 --- a/src/include/catalog/indexing.h +++ b/src/include/catalog/indexing.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: indexing.h,v 1.59 2002/03/26 19:16:26 tgl Exp $ + * $Id: indexing.h,v 1.60 2002/03/29 19:06:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -89,7 +89,7 @@ #define TriggerConstrRelidIndex "pg_trigger_tgconstrrelid_index" #define TriggerRelidIndex "pg_trigger_tgrelid_index" #define TriggerOidIndex "pg_trigger_oid_index" -#define TypeNameIndex "pg_type_typname_index" +#define TypeNameNspIndex "pg_type_typname_nsp_index" #define TypeOidIndex "pg_type_oid_index" /* Arrays of names of indices for each system catalog */ @@ -189,7 +189,7 @@ DECLARE_INDEX(pg_trigger_tgconstrrelid_index on pg_trigger using btree(tgconstrr DECLARE_INDEX(pg_trigger_tgrelid_index on pg_trigger using btree(tgrelid oid_ops)); DECLARE_UNIQUE_INDEX(pg_trigger_oid_index on pg_trigger using btree(oid oid_ops)); DECLARE_UNIQUE_INDEX(pg_type_oid_index on pg_type using btree(oid oid_ops)); -DECLARE_UNIQUE_INDEX(pg_type_typname_index on pg_type using btree(typname name_ops)); +DECLARE_UNIQUE_INDEX(pg_type_typname_nsp_index on pg_type using btree(typname name_ops, typnamespace oid_ops)); /* last step of initialization script: build the indices declared above */ BUILD_INDICES |
