mirror of
https://github.com/postgres/postgres.git
synced 2026-02-03 20:40:14 -05:00
constants, not only string constants, at parse time. Get rid of parser_typecast2(), which is bogus and redundant...
26 lines
650 B
C
26 lines
650 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* parse_expr.h
|
|
*
|
|
*
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: parse_expr.h,v 1.15 1999/08/05 02:33:51 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef PARSE_EXPR_H
|
|
#define PARSE_EXPR_H
|
|
|
|
#include "parser/parse_node.h"
|
|
#include "parser/parse_type.h"
|
|
|
|
#define EXPR_COLUMN_FIRST 1
|
|
#define EXPR_RELATION_FIRST 2
|
|
|
|
extern Node *transformExpr(ParseState *pstate, Node *expr, int precedence);
|
|
extern Oid exprType(Node *expr);
|
|
extern int32 exprTypmod(Node *expr);
|
|
|
|
#endif /* PARSE_EXPR_H */
|