On Mon, Sep 26, 2011 at 9:57 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> Does it work if you use EXECUTE?
Apologies to have not included the list when I replied to Pavel.
Re-writing it as a dynamic sql stmt indeed works. Sorry for the noise.