"David E. Wheeler" <david.wheeler@pgexperts.com> writes:
> Anyone ever thought to try to add $subject to PL/pgSQL?
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 thebody of any PL/pgSQL function. This block provides
thedeclarationsof the function's parameters (if any), as well assome special variables such as FOUND (see Section
39.5.5).Theouter block is labeled with the function's name, meaning thatparameters and special variables can be
qualifiedwith thefunction's name.
regards, tom lane