File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 99 *
1010 *
1111 * IDENTIFICATION
12- * $Header: /cvsroot/pgsql/src/backend/commands/functioncmds.c,v 1.13 2002/07/24 19:11:09 petere Exp $
12+ * $Header: /cvsroot/pgsql/src/backend/commands/functioncmds.c,v 1.14 2002/07/29 20:45:44 tgl Exp $
1313 *
1414 * DESCRIPTION
1515 * These routines take the parse tree and pick out the
@@ -764,15 +764,15 @@ DropCast(DropCastStmt *stmt)
764764 elog (ERROR , "permission denied" );
765765 }
766766
767- ReleaseSysCache (tuple );
768-
769767 /*
770768 * Do the deletion
771769 */
772770 object .classId = get_system_catalog_relid (CastRelationName );
773771 object .objectId = HeapTupleGetOid (tuple );
774772 object .objectSubId = 0 ;
775773
774+ ReleaseSysCache (tuple );
775+
776776 performDeletion (& object , stmt -> behavior );
777777}
778778
You can’t perform that action at this time.
0 commit comments