Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdcbacde

Browse files
committed
Patch problems caused by code drift since OID patch creation.
1 parente36f9cd commitdcbacde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/commands/functioncmds.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/commands/functioncmds.c,v 1.10 2002/07/20 05:16:57 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/commands/functioncmds.c,v 1.11 2002/07/20 05:37:45 momjian Exp $
1313
*
1414
* DESCRIPTION
1515
* These routines take the parse tree and pick out the
@@ -728,7 +728,7 @@ CreateCast(CreateCastStmt *stmt)
728728
}
729729

730730
myself.classId=get_system_catalog_relid(CastRelationName);
731-
myself.objectId=tuple->t_data->t_oid;
731+
myself.objectId=HeapTupleGetOid(tuple);
732732
myself.objectSubId=0;
733733

734734
/* dependency on source type */
@@ -809,7 +809,7 @@ DropCast(DropCastStmt *stmt)
809809
* Do the deletion
810810
*/
811811
object.classId=get_system_catalog_relid(CastRelationName);
812-
object.objectId=tuple->t_data->t_oid;
812+
object.objectId=HeapTupleGetOid(tuple);
813813
object.objectSubId=0;
814814

815815
performDeletion(&object,stmt->behavior);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp