Re: [HACKERS] It would be nice if this could be fixed... - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] It would be nice if this could be fixed...
Date
Msg-id 37371859.C975F530@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] It would be nice if this could be fixed...  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> Chris, any chance you can send a small reproducable test case for this,
> with INSERT's and CREATE table.  Thanks.
> > COALESCE sql function causes postgres to CRASH!
> > e.g.
> > httpd=> SELECT story.title, COALESCE(story.image, mfr.image) FROM story,
> > mfr where story.category= mfr.oid;

Not necessary. This was a known problem documented in the regression
tests, and Tom Lane just fixed it a day or two ago. The problem was
with including more than one table in a COALESCE or CASE expression
result.
                     - Tom

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] CREATE TEMP TABLE
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] views and group by (formerly: create view as selec