any_ordering_op()'s argument should be declared Oid not int.

REL7_0_PATCHES
Tom Lane 26 years ago
parent cb00b7faa5
commit efb36d2be8
  1. 4
      src/backend/parser/parse_oper.c
  2. 4
      src/include/parser/parse_oper.h

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.33 1999/11/22 17:56:21 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.34 1999/12/12 20:51:29 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -36,7 +36,7 @@ static int unary_oper_get_candidates(char *op,
static void op_error(char *op, Oid arg1, Oid arg2);
Oid
any_ordering_op(int restype)
any_ordering_op(Oid restype)
{
Operator order_op;
Oid order_opid;

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: parse_oper.h,v 1.9 1999/08/23 23:48:38 tgl Exp $
* $Id: parse_oper.h,v 1.10 1999/12/12 20:51:28 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -17,7 +17,7 @@
typedef HeapTuple Operator;
extern Oid any_ordering_op(int restype);
extern Oid any_ordering_op(Oid restype);
extern Oid oprid(Operator op);
extern Operator oper(char *op, Oid arg1, Oid arg2, bool noWarnings);
extern Operator right_oper(char *op, Oid arg);

Loading…
Cancel
Save