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

Commitc5aaba2

Browse files
committed
In src/backend/catalog/pg_operator.c in OperatorDef, there
are three SearchSysCacheTuple(PRONAME,...) calls that use threedifferent macros to convert the typeId array of Oids.Darren King
1 parentdf0eee9 commitc5aaba2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/catalog/pg_operator.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.7 1996/11/30 18:06:03 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.8 1996/12/26 17:46:07 momjian Exp $
1111
*
1212
* NOTES
1313
* these routines moved here from commands/define.c and somewhat cleaned up.
@@ -551,7 +551,7 @@ OperatorDef(char *operatorName,
551551
tup=SearchSysCacheTuple(PRONAME,
552552
PointerGetDatum(restrictionName),
553553
Int32GetDatum(5),
554-
ObjectIdGetDatum(typeId),
554+
PointerGetDatum(typeId),
555555
0);
556556
if (!HeapTupleIsValid(tup))
557557
func_error("OperatorDef",restrictionName,5,typeId);
@@ -575,7 +575,7 @@ OperatorDef(char *operatorName,
575575
tup=SearchSysCacheTuple(PRONAME,
576576
PointerGetDatum(joinName),
577577
Int32GetDatum(5),
578-
Int32GetDatum(typeId),
578+
PointerGetDatum(typeId),
579579
0);
580580
if (!HeapTupleIsValid(tup))
581581
func_error("OperatorDef",joinName,5,typeId);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp