     WHEN class_id = 63 OR
          class_id = 62 THEN PERFORM geodb_pkg.delete_bridge(co_id, schema_name);
     WHEN class_id = 65 OR
-         class_id = 66 THEN PERFORM geodb_pkg.delete_bridge_inst(co_id, schema_name);
+         class_id = 66 THEN PERFORM geodb_pkg.delete_bridge_installation(co_id, schema_name);
     WHEN class_id = 68 OR 
          class_id = 69 OR 
          class_id = 70 OR 

                    schema_name, schema_name, brd_id, brd_id);

  -- delete referenced bridge installation(s)
  EXECUTE format('SELECT geodb_pkg.delete_bridge_inst(id, %L) FROM %I.bridge_installation WHERE bridge_id = %L', 
                    schema_name, schema_name, brd_id);

  -- delete referenced bridge thematic surfaces

                    schema_name, schema_name, tun_id, tun_id);

  -- delete referenced tunnel installation(s)
  EXECUTE format('SELECT geodb_pkg.delete_tunnel_installation(id, %L) FROM %I.tunnel_installation WHERE tunnel_id = %L', 
                    schema_name, schema_name, tun_id);

  -- delete referenced tunnel thematic surfaces
