mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Fix compile failure caused by new patch.
This commit is contained in:
parent
64acc5e3f1
commit
1a63cc5e90
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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);
|
tform = (Form_pg_type) GETSTRUCT(typeTuple);
|
||||||
|
|
||||||
if (HeapTupleGetOid(typeTuple) != childatt->atttypid ||
|
if (HeapTupleGetOid(typeTuple) != childatt->atttypid ||
|
||||||
colDef->typename->typemod != childatt->atttypmod)
|
colDef->typename->typmod != childatt->atttypmod)
|
||||||
elog(ERROR, "ALTER TABLE: child table %u has different "
|
elog(ERROR, "ALTER TABLE: child table %u has different "
|
||||||
"type for column \"%s\"",
|
"type for column \"%s\"",
|
||||||
childrelid, colDef->colname);
|
childrelid, colDef->colname);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user