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

This commit is contained in:
Tom Lane 1999-12-12 20:51:29 +00:00
parent cb00b7faa5
commit efb36d2be8
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);