R: Re: Weird EXECUTE ... USING behaviour - Mailing list pgsql-general

From Vincenzo Romano
Subject R: Re: Weird EXECUTE ... USING behaviour
Date
Msg-id 3eff28921001122138m5d3d74f2i6edc28f48e83a658@mail.gmail.com
Whole thread Raw
In response to Re: Weird EXECUTE ... USING behaviour  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Weird EXECUTE ... USING behaviour  (Vincenzo Romano <vincenzo.romano@notorand.it>)
Re: R: Re: Weird EXECUTE ... USING behaviour  (Adrian Klaver <adrian.klaver@gmail.com>)
List 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@sss.pgh.pa.us> ha scritto:

Vincenzo Romano <vincenzo.romano@notorand.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

pgsql-general by date:

Previous
From: Dave Page
Date:
Subject: Re: Change Hard Disc Drive
Next
From: Craig Ringer
Date:
Subject: Re: Change Hard Disc Drive