On Sep 7, 2010, at 9:35 AM, Tom Lane wrote:
> How does $subject differ from what we already do? See
> http://www.postgresql.org/docs/9.0/static/plpgsql-structure.html
> particularly this:
>
> Note: There is actually a hidden "outer block" surrounding the
> body of any PL/pgSQL function. This block provides the
> declarations of the function's parameters (if any), as well as
> some special variables such as FOUND (see Section 39.5.5). The
> outer block is labeled with the function's name, meaning that
> parameters and special variables can be qualified with the
> function's name.
Well I'll be damned. I never knew about this! So I can get rid of those aliases!
http://github.com/theory/pgxn-manager/commit/e5add190ff5358a0b2ede64b62616491be454c50
Thanks Tom, I had *no idea* about this.
Best,
David