1997-11-25 23:07:18 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* catalog_utils.h
|
1997-11-25 23:07:18 +01:00
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* $Id: parse_oper.h,v 1.7 1999/02/13 23:21:57 momjian Exp $
|
1997-11-25 23:07:18 +01:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PARSE_OPER_H
|
|
|
|
#define PARSE_OPER_H
|
|
|
|
|
|
|
|
#include <parser/parse_func.h>
|
|
|
|
#include <parser/parse_node.h>
|
|
|
|
|
|
|
|
typedef HeapTuple Operator;
|
|
|
|
|
1998-02-26 05:46:47 +01:00
|
|
|
extern Oid any_ordering_op(int restype);
|
|
|
|
extern Oid oprid(Operator op);
|
1997-11-26 02:14:33 +01:00
|
|
|
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);
|
1997-11-25 23:07:18 +01:00
|
|
|
|
1998-05-29 16:07:50 +02:00
|
|
|
extern Operator oper_exact(char *op, Oid arg1, Oid arg2, Node **ltree, Node **rtree, bool noWarnings);
|
|
|
|
extern Operator oper_inexact(char *op, Oid arg1, Oid arg2, Node **ltree, Node **rtree, bool noWarnings);
|
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* PARSE_OPER_H */
|