Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour
Date: 2010-01-13 21:53:13
Message-ID: 4B4E40C9.8080609@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 01/13/2010 01:39 PM, Vincenzo Romano wrote:
> My issue involves the USING predicates, though.
>

WARNING:Old joke

Doctor: What is wrong?
Patient: My elbow hurts when I do this, what should I do?
Doctor: Quit doing that.

USING is not working the way you want, mainly for the reason you found,
the CHECK is being parsed before the variable is substituted. At this
point it is time to do something different.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vincenzo Romano 2010-01-13 22:00:47 R: Re: R: Re: R: Re: Weird EXECUTE ... USING behaviour
Previous Message akuster 2010-01-13 21:47:54 Re: How to subscribe to your security list?