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/tcop/utility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/backend/tcop/utility.c') diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 84b357665dd..f51f90f86b4 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.308 2009/06/11 14:49:02 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.309 2009/06/11 20:46:11 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -447,6 +447,7 @@ ProcessUtility(Node *parsetree, true); AlterTableCreateToastTable(relOid, + InvalidOid, toast_options, false); } -- cgit v1.2.3