aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.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/executor/execMain.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/executor/execMain.c')
-rw-r--r--src/backend/executor/execMain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index 1c6fd02e1fe..1fddf10bc9a 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.325 2009/06/11 14:48:56 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.326 2009/06/11 20:46:11 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2953,7 +2953,7 @@ OpenIntoRel(QueryDesc *queryDesc)
(void) heap_reloptions(RELKIND_TOASTVALUE, reloptions, true);
- AlterTableCreateToastTable(intoRelationId, reloptions, false);
+ AlterTableCreateToastTable(intoRelationId, InvalidOid, reloptions, false);
/*
* And open the constructed table for writing.