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: | cristi(at)auctionwatch(dot)ro, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: postgresql process crashes on select * from cmd_sm (which is a view) |
Date: | 2000-12-21 19:12:01 |
Message-ID: | 200012211912.OAA03486@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Added to TODO:
* Prevent BETWEEN from using duplicate nodes
> pgsql-bugs(at)postgresql(dot)org writes:
> > postgresql process crashes on select * from cmd_sm (which is a view)
>
> Poking into this revealed what seems to be a long-standing bug: a view
> that uses BETWEEN gets confused about any variables appearing in the
> first argument of the BETWEEN. I've fixed this in current sources,
> but for 7.0.* you'd be best advised to write out BETWEEN explicitly
> as "a >= b AND a <= c".
>
> A separate issue is that grouped views don't work very well in 7.0.*.
> This is also fixed for 7.1, but in the meantime don't expect to be able
> to apply aggregates or grouping to the output of a grouped view.
>
> regards, tom lane
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | pgsql-bugs | 2000-12-21 20:30:07 | pg_dumpall -h looks up database names locally. |
Previous Message | Chris | 2000-12-21 18:37:13 | Re: bug |