Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2012/7/10 Dimitri Fontaine <dimitri@2ndquadrant.fr>:
>> I'm not sure I can understand the difference between that and the use
>> case for which you want to implement DO blocks with parameters.
> this is similar to temporary functions - you need some temporary name
> - it is insert to pg_proc, and you have to solve possible conflicts.
What's to solve? Presumably the WITH function name would take
precedence over anything in the catalogs, the same as WITH query names
take precedence over actual tables.
regards, tom lane