aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/command.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-03-30 01:02:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-03-30 01:02:42 +0000
commit5f4745adf4fb2a1f933b25d7a2bc72b39fa9edfd (patch)
treee024d7d1a3eb76220378e4054bf34485812962ea /src/backend/commands/command.c
parent25004eec957853a55789398d4228d7e77d4877c1 (diff)
downloadpostgresql-5f4745adf4fb2a1f933b25d7a2bc72b39fa9edfd.tar.gz
postgresql-5f4745adf4fb2a1f933b25d7a2bc72b39fa9edfd.zip
Further cleanups for relations in schemas: teach nextval and other
sequence functions how to cope with qualified names. Same code is also used for int4notin, currtid_byrelname, pgstattuple. Also, move TOAST tables into special pg_toast namespace.
Diffstat (limited to 'src/backend/commands/command.c')
-rw-r--r--src/backend/commands/command.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c
index 9180c539ff2..2c029fa2ae9 100644
--- a/src/backend/commands/command.c
+++ b/src/backend/commands/command.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.167 2002/03/29 19:06:03 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.168 2002/03/30 01:02:41 tgl Exp $
*
* NOTES
* The PerformAddAttribute() code, like most of the relation
@@ -1755,13 +1755,13 @@ AlterTableCreateToastTable(Oid relOid, bool silent)
tupdesc->attrs[2]->attstorage = 'p';
/*
- * Note: the toast relation is considered a "normal" relation even if
- * its master relation is a temp table. There cannot be any naming
- * collision, and the toast rel will be destroyed when its master is,
- * so there's no need to handle the toast rel as temp.
+ * Note: the toast relation is placed in the regular pg_toast namespace
+ * even if its master relation is a temp table. There cannot be any
+ * naming collision, and the toast rel will be destroyed when its master
+ * is, so there's no need to handle the toast rel as temp.
*/
toast_relid = heap_create_with_catalog(toast_relname,
- RelationGetNamespace(rel),
+ PG_TOAST_NAMESPACE,
tupdesc,
RELKIND_TOASTVALUE, false,
false, true);