mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
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.
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user