Re: [GENERAL] INSTEAD rule bug?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: DeJuan Jackson <djackson(at)speedfc(dot)com>, pgsql-bugs(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] INSTEAD rule bug?
Date: 2003-07-22 16:02:34
Message-ID: 200307221602.h6MG2Zi21571@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Tom Lane wrote:
> DeJuan Jackson <djackson(at)speedfc(dot)com> writes:
> > Or is it simply any conditional rule using UNION/EXCEPT/INTERSECT/...?
>
> Yeah, that's about the size of it :-(. Note though that you could
> probably work around the problem by pushing the UNION etc. down into a
> sub-select:
> SELECT * FROM (SELECT ... UNION ...) foo;
>
> At some point we could look at automatically transforming the query in
> that way, but I'm not planning to worry about it now.

What does the code do now after you changed it? Fail on the UNION
query?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Boris Folgmann 2003-07-22 16:04:05 Bugzilla?
Previous Message Tom Lane 2003-07-22 04:37:49 Re: deadlock_timeout and pg_ctl reload

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Welche 2003-07-22 16:21:58 Re: Having a 2-column uniqueness constraint
Previous Message Shridhar Daithankar 2003-07-22 16:02:21 Re: Having a 2-column uniqueness constraint