"Neil D'Souza" <neil.xavier.dsouza@gmail.com> writes:
> Thank you for the quick reply. The example I constructed was
> specifically for this post. I modified the function as below and it
> works fine now. It would be great if the point you mentioned was a
> note in the PGSQL Documentation (or did I miss it).
As of 9.0, plpgsql's default behavior is to throw an error when there's
an ambiguity of this sort.
regards, tom lane