mirror of
https://github.com/postgres/postgres.git
synced 2026-02-03 20:40:14 -05:00
is measured in kilobytes and checked against actual physical execution stack depth, as per my proposal of 30-Dec. This gives us a fairly bulletproof defense against crashing due to runaway recursive functions.
29 lines
787 B
C
29 lines
787 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* parse_expr.h
|
|
*
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $PostgreSQL: pgsql/src/include/parser/parse_expr.h,v 1.33 2004/03/24 22:40:29 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef PARSE_EXPR_H
|
|
#define PARSE_EXPR_H
|
|
|
|
#include "parser/parse_node.h"
|
|
|
|
|
|
/* GUC parameters */
|
|
extern bool Transform_null_equals;
|
|
|
|
|
|
extern Node *transformExpr(ParseState *pstate, Node *expr);
|
|
extern Oid exprType(Node *expr);
|
|
extern int32 exprTypmod(Node *expr);
|
|
extern bool exprIsLengthCoercion(Node *expr, int32 *coercedTypmod);
|
|
|
|
#endif /* PARSE_EXPR_H */
|