R: Re: Weird EXECUTE ... USING behaviour

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: R: Re: Weird EXECUTE ... USING behaviour
Date: 2010-01-13 05:38:06
Message-ID: 3eff28921001122138m5d3d74f2i6edc28f48e83a658@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-01-13 05:43:25 Re: Change Hard Disc Drive
Previous Message Dave Page 2010-01-13 05:31:26 Re: Change Hard Disc Drive