The static binding worked fine in the second EXECUTE USING statement but not in the first one.
I still think that it's weird more than wishful.
I can work it around, though.
Il giorno 12 gen, 2010 4:13 p., "Tom Lane" <tgl@xxxxxxxxxxxxx> ha scritto:Vincenzo Romano <vincenzo.romano@xxxxxxxxxxx> writes:
> I don't think so. Those variables should be evaluated with the USING > *before* the actual executi...
Unfortunately, that's just wishful thinking, not how EXECUTE USING
actually works.
regards, tom lane