Skip to content

Commit 1a63cc5

Browse files
committed
Fix compile failure caused by new patch.
1 parent 64acc5e commit 1a63cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/tablecmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.46 2002/10/19 02:09:45 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.47 2002/10/19 02:25:51 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1675,7 +1675,7 @@ AlterTableAddColumn(Oid myrelid,
16751675
tform = (Form_pg_type) GETSTRUCT(typeTuple);
16761676

16771677
if (HeapTupleGetOid(typeTuple) != childatt->atttypid ||
1678-
colDef->typename->typemod != childatt->atttypmod)
1678+
colDef->typename->typmod != childatt->atttypmod)
16791679
elog(ERROR, "ALTER TABLE: child table %u has different "
16801680
"type for column \"%s\"",
16811681
childrelid, colDef->colname);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy