1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Fix unintended assignment of sequences to the containing schema's

default tablespace --- they should always go in the database's default
tablespace.  Adjust heap_create() API so that it is passed the relkind
to make this easier; should simplify any further tweaking of the same
sort.
This commit is contained in:
Tom Lane
2004-08-31 17:10:36 +00:00
parent a421b4e850
commit 617d6ea7df
4 changed files with 38 additions and 19 deletions

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.238 2004/08/29 05:06:41 momjian Exp $
* $PostgreSQL: pgsql/src/backend/catalog/index.c,v 1.239 2004/08/31 17:10:36 tgl Exp $
*
*
* INTERFACE ROUTINES
@@ -543,8 +543,8 @@ index_create(Oid heapRelationId,
namespaceId,
tableSpaceId,
indexTupDesc,
RELKIND_INDEX,
shared_relation,
true,
allow_system_table_mods);
/* Fetch the relation OID assigned by heap_create */