File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.65 2000/11/08 22: 09:57 tgl Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/creatinh.c,v 1.66 2000/11/13 09:16:55 inoue Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -756,7 +756,7 @@ setRelhassubclassInRelation(Oid relationId, bool relhassubclass)
756
756
* lock to it.
757
757
*/
758
758
relationRelation = heap_openr (RelationRelationName , RowExclusiveLock );
759
- tuple = SearchSysCacheTuple (RELOID ,
759
+ tuple = SearchSysCacheTupleCopy (RELOID ,
760
760
ObjectIdGetDatum (relationId ),
761
761
0 , 0 , 0 )
762
762
;
@@ -771,6 +771,7 @@ setRelhassubclassInRelation(Oid relationId, bool relhassubclass)
771
771
);
772
772
CatalogCloseIndices (Num_pg_class_indices , idescs );
773
773
774
+ heap_freetuple (tuple );
774
775
heap_close (relationRelation , RowExclusiveLock );
775
776
}
776
777
You can’t perform that action at this time.
0 commit comments