Re: makeAndExpr(), etc. confined to gram.y?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: makeAndExpr(), etc. confined to gram.y?
Date: 2014-06-25 04:27:57
Message-ID: 75211.1403670477@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Amit Langote <amitlangote09(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Abhijit Menon-Sen 2014-06-25 04:29:30 Re: Cluster name in ps output
Previous Message Tom Lane 2014-06-25 04:25:53 Re: [HACKERS] BUG #10728: json_to_recordset with nested json objects NULLs columns