Fix compile failure caused by new patch.

This commit is contained in:
Bruce Momjian 2002-10-19 02:25:51 +00:00
parent 64acc5e3f1
commit 1a63cc5e90
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.46 2002/10/19 02:09:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.47 2002/10/19 02:25:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -1675,7 +1675,7 @@ AlterTableAddColumn(Oid myrelid,
tform = (Form_pg_type) GETSTRUCT(typeTuple);
if (HeapTupleGetOid(typeTuple) != childatt->atttypid ||
colDef->typename->typemod != childatt->atttypmod)
colDef->typename->typmod != childatt->atttypmod)
elog(ERROR, "ALTER TABLE: child table %u has different "
"type for column \"%s\"",
childrelid, colDef->colname);