Richard Guo <guofenglinux@gmail.com> writes:
> BTW, from catversion.h I read:
> * Another common reason for a catversion update is a change in parsetree
> * external representation, since serialized parsetrees appear in stored
> * rules and new-style SQL functions. Almost any change in primnodes.h or
> * parsenodes.h will warrant a catversion update.
> Since this patchset changes the querytree produced by the parser, does
> this indicate that a catversion bump is needed?
Yes, it would.
regards, tom lane