]> granicus.if.org Git - postgresql/commitdiff
any_ordering_op()'s argument should be declared Oid not int.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Dec 1999 20:51:29 +0000 (20:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Dec 1999 20:51:29 +0000 (20:51 +0000)
src/backend/parser/parse_oper.c
src/include/parser/parse_oper.h

index fd5231e61ac353aceaf5728c7c5023c7c084e69b..e3a6b66eca48a3835f3297bd4b6a4496581e307f 100644 (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;
index 7c3f3b54c7777b87e9cf278d093dfd2b005331af..298166ac7ee94110f61c87a39cb417eeafdb0e0c 100644 (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);