Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit efb36d2

Browse files
committed
any_ordering_op()'s argument should be declared Oid not int.
1 parent cb00b7f commit efb36d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/parser/parse_oper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.33 1999/11/22 17:56:21 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.34 1999/12/12 20:51:29 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -36,7 +36,7 @@ static int unary_oper_get_candidates(char *op,
3636
static void op_error(char *op, Oid arg1, Oid arg2);
3737

3838
Oid
39-
any_ordering_op(int restype)
39+
any_ordering_op(Oid restype)
4040
{
4141
Operator order_op;
4242
Oid order_opid;

src/include/parser/parse_oper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: parse_oper.h,v 1.9 1999/08/23 23:48:38 tgl Exp $
9+
* $Id: parse_oper.h,v 1.10 1999/12/12 20:51:28 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -17,7 +17,7 @@
1717

1818
typedef HeapTuple Operator;
1919

20-
extern Oid any_ordering_op(int restype);
20+
extern Oid any_ordering_op(Oid restype);
2121
extern Oid oprid(Operator op);
2222
extern Operator oper(char *op, Oid arg1, Oid arg2, bool noWarnings);
2323
extern Operator right_oper(char *op, Oid arg);

0 commit comments

Comments
 (0)