Re: makeAndExpr(), etc. confined to gram.y? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: makeAndExpr(), etc. confined to gram.y?
Date
Msg-id 75211.1403670477@sss.pgh.pa.us
Whole thread Raw
In response to makeAndExpr(), etc. confined to gram.y?  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: makeAndExpr(), etc. confined to gram.y?
List pgsql-hackers
Amit Langote <amitlangote09@gmail.com> writes:
> Is there a reason why they've been left out of
> makefuncs.h/makefuncs.c? Perhaps they are not supposed to be used
> outside gram.y at all? For example, previously a caller (potentially)
> outside parser could do a makeA_Expr(AEXPR_AND, ...). I guess this is
> no longer possible with AEXPR_AND gone?

What would be the purpose?  There is noplace except gram.y that builds
raw parse trees.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #10728: json_to_recordset with nested json objects NULLs columns
Next
From: Abhijit Menon-Sen
Date:
Subject: Re: Cluster name in ps output