Henson Choi <assam258(at)gmail(dot)com> writes:
> The code in 0002 is unchanged from v1. 0001 has the two new
> columns, with the output before the fix, and 0002 updates their
> output along with the others.
Pushed with some editorialization. I did not see the need to
complicate the API spec for looks_like_function(): it's defined
to say whether the construct will parse as func_expr_windowless,
and that's what it should do. I don't think the cases where
this results in extra parentheses are common enough to be a
big deal, especially since there seem to be none in our
regression tests.
regards, tom lane