|
27 | 27 | *
|
28 | 28 | *
|
29 | 29 | * IDENTIFICATION
|
30 |
| - * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.133 2000/12/0522:03:57 tgl Exp $ |
| 30 | + * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.134 2001/01/01 21:22:54 tgl Exp $ |
31 | 31 | *
|
32 | 32 | *-------------------------------------------------------------------------
|
33 | 33 | */
|
@@ -762,7 +762,10 @@ InitPlan(CmdType operation, Query *parseTree, Plan *plan, EState *estate)
|
762 | 762 | CommandCounterIncrement();
|
763 | 763 |
|
764 | 764 | /*
|
765 |
| - * Eventually create a TOAST table for the into relation |
| 765 | + * If necessary, create a TOAST table for the into relation. |
| 766 | + * Note that AlterTableCreateToastTable ends with |
| 767 | + * CommandCounterIncrement(), so that the TOAST table will |
| 768 | + * be visible for insertion. |
766 | 769 | */
|
767 | 770 | AlterTableCreateToastTable(intoName, true);
|
768 | 771 |
|
|