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

From Tom Lane
Subject Re: Weird EXECUTE ... USING behaviour
Date
Msg-id 4086.1263309212@sss.pgh.pa.us
Whole thread Raw
In response to Re: Weird EXECUTE ... USING behaviour  (Vincenzo Romano <vincenzo.romano@notorand.it>)
Responses R: Re: Weird EXECUTE ... USING behaviour
List pgsql-general
Vincenzo Romano <vincenzo.romano@notorand.it> writes:
> I don't think so. Those variables should be evaluated with the USING
> *before* the actual execution.
> Thus my statements only contain columns and constants.

Unfortunately, that's just wishful thinking, not how EXECUTE USING
actually works.

            regards, tom lane

pgsql-general by date:

Previous
From: Vincenzo Romano
Date:
Subject: Re: Weird EXECUTE ... USING behaviour
Next
From: Robert Gravsjö
Date:
Subject: Re: Pre-calculate hash join