mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 00:10:07 -05:00
maintained for each cache entry. A cache entry will not be freed until the matching ReleaseSysCache call has been executed. This eliminates worries about cache entries getting dropped while still in use. See my posting to pg-hackers of even date for more info.
31 lines
800 B
C
31 lines
800 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* catalog_utils.h
|
|
*
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: parse_oper.h,v 1.12 2000/11/16 22:30:45 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef PARSE_OPER_H
|
|
#define PARSE_OPER_H
|
|
|
|
#include "access/htup.h"
|
|
|
|
typedef HeapTuple Operator;
|
|
|
|
extern Operator oper(char *op, Oid arg1, Oid arg2, bool noError);
|
|
extern Operator right_oper(char *op, Oid arg);
|
|
extern Operator left_oper(char *op, Oid arg);
|
|
|
|
extern Oid oper_oid(char *op, Oid arg1, Oid arg2, bool noError);
|
|
extern Oid oprid(Operator op);
|
|
|
|
extern Oid any_ordering_op(Oid restype);
|
|
|
|
#endif /* PARSE_OPER_H */
|