Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> 3. The pre-transform hook would have a signature like
> Node *hook(ParseState *pstate, ColumnRef *cref)
>
> 4. The post-transform hook would have a signature like
> Node *hook(ParseState *pstate, ColumnRef *cref, Node *var)
Are there any relationships between the hooks and
Function Call Hook/parser hook submitted by Pavel-san?
https://commitfest.postgresql.org/action/patch_view?id=160
If we can also use them in normal SQL parsing, they are very useful
to implement SYSDATE global variable for porting from Oracle.
Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center