"Gevik Babakhani" <pgdev@xs4all.nl> writes:
> Unfortunately for func.param is this problematic because
> qualifiedNameToVar and transformWholeRowRef/ParseFuncOrColumn
> internally call RTE functions which justifiably throw an "ambiguous column
> error".
What's the problem? If it's ambiguous within the query, it's ambiguous.
> a) Check for func.param before qualifiedNameToVar and
> transformWholeRowRef/ParseFuncOrColumn
This is 100% backwards.
regards, tom lane