mirror of
https://github.com/postgres/postgres.git
synced 2026-06-07 16:18:57 -04:00
a23faeee83
match then it tried for a self-commutative operator with the reversed input data types. This is pretty silly; there could never be such an operator, except maybe in binary-compatible-type scenarios, and we have oper_inexact for that. Besides which, the oprsanity regress test would complain about such an operator. Remove nonfunctional code and simplify routine calling convention accordingly.
27 lines
673 B
C
27 lines
673 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* catalog_utils.h
|
|
*
|
|
*
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: parse_oper.h,v 1.9 1999/08/23 23:48:38 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef PARSE_OPER_H
|
|
#define PARSE_OPER_H
|
|
|
|
#include "access/htup.h"
|
|
|
|
typedef HeapTuple Operator;
|
|
|
|
extern Oid any_ordering_op(int 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);
|
|
extern Operator left_oper(char *op, Oid arg);
|
|
|
|
#endif /* PARSE_OPER_H */
|