From 44aa60fa7c68355c630cc4fa5c677364dcfd06a3 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 11 Jun 2009 20:46:11 +0000 Subject: 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. --- src/backend/executor/execMain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/executor/execMain.c') 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. -- cgit v1.2.3