@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $ PostgreSQL : pgsql / src / backend / commands / tablecmds . c , v 1.123 2004 / 08 / 01 20 : 30 : 48 tgl Exp $
* $ PostgreSQL : pgsql / src / backend / commands / tablecmds . c , v 1.124 2004 / 08 / 04 20 : 53 : 53 tgl Exp $
*
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
*/
@ -4888,8 +4888,8 @@ ATExecAlterColumnType(AlteredTableInfo *tab, Relation rel,
if ( foundDep - > deptype ! = DEPENDENCY_NORMAL )
if ( foundDep - > deptype ! = DEPENDENCY_NORMAL )
elog ( ERROR , " found unexpected dependency type '%c' " ,
elog ( ERROR , " found unexpected dependency type '%c' " ,
foundDep - > deptype ) ;
foundDep - > deptype ) ;
if ( foundDep - > classid ! = RelOid_pg_type | |
if ( foundDep - > ref classid ! = RelOid_pg_type | |
foundDep - > objid ! = attTup - > atttypid )
foundDep - > ref objid ! = attTup - > atttypid )
elog ( ERROR , " found unexpected dependency for column " ) ;
elog ( ERROR , " found unexpected dependency for column " ) ;
simple_heap_delete ( depRel , & depTup - > t_self ) ;
simple_heap_delete ( depRel , & depTup - > t_self ) ;