From: | Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org, adrian(dot)klaver(at)gmail(dot)com |
Subject: | Re: Weird EXECUTE ... USING behaviour |
Date: | 2010-01-13 08:02:47 |
Message-ID: | 3eff28921001130002g3da24bf3ja7f548d64a465be8@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2010/1/13 Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it>:
> 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(at)sss(dot)pgh(dot)pa(dot)us> ha scritto:
>
> Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it> 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
>
Sorry for top posting: I used a mobile phone ...
--
Vincenzo Romano
NotOrAnd Information Technologies
NON QVIETIS MARIBVS NAVTA PERITVS
From | Date | Subject | |
---|---|---|---|
Next Message | Yan Cheng Cheok | 2010-01-13 08:09:21 | Extremely Slow Cascade Delete Operation |
Previous Message | Pavel Stehule | 2010-01-13 06:19:33 | Re: crosstab function - pivot - use column value as column description |