Re: function_name.parameter_name
От | David E. Wheeler |
---|---|
Тема | Re: function_name.parameter_name |
Дата | |
Msg-id | 7EE1912B-B72C-47EA-87F5-FF286A1008E1@pgexperts.com обсуждение исходный текст |
Ответ на | Re: function_name.parameter_name (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: