aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/cluster.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-06-11 20:46:11 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-06-11 20:46:11 +0000
commit44aa60fa7c68355c630cc4fa5c677364dcfd06a3 (patch)
treee076d419dcad5d1867888a6177123d1de3b26607 /src/backend/commands/cluster.c
parentdb16e7734918c63589fe607be94699449a618b5a (diff)
downloadpostgresql-44aa60fa7c68355c630cc4fa5c677364dcfd06a3.tar.gz
postgresql-44aa60fa7c68355c630cc4fa5c677364dcfd06a3.zip
Revisit AlterTableCreateToastTable's API once again, hoping to make it what
pg_migrator actually needs and not just a partial solution. We have to be able to specify the OID that the new toast table should be created with.
Diffstat (limited to 'src/backend/commands/cluster.c')
-rw-r--r--src/backend/commands/cluster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index ca9999d5f4a..1fabfb3d65c 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/commands/cluster.c,v 1.185 2009/06/11 14:48:55 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/cluster.c,v 1.186 2009/06/11 20:46:11 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -741,7 +741,7 @@ make_new_heap(Oid OIDOldHeap, const char *NewName, Oid NewTableSpace)
if (isNull)
reloptions = (Datum) 0;
}
- AlterTableCreateToastTable(OIDNewHeap, reloptions, false);
+ AlterTableCreateToastTable(OIDNewHeap, InvalidOid, reloptions, false);
if (OidIsValid(toastid))
ReleaseSysCache(tuple);