Re: BUG #5028: CASE returns ELSE value always when type is "char" - Mailing list pgsql-bugs

From Sam Mason
Subject Re: BUG #5028: CASE returns ELSE value always when type is "char"
Date
Msg-id 20090902091654.GL5407@samason.me.uk
Whole thread Raw
In response to Re: BUG #5028: CASE returns ELSE value always when type is "char"  (Sam Mason <sam@samason.me.uk>)
Responses Re: BUG #5028: CASE returns ELSE value always when type is "char"  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #5028: CASE returns ELSE value always when type is "char"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Tue, Sep 01, 2009 at 05:49:25PM +0100, Sam Mason wrote:
> PG could maybe throw an error to tell you this is
> what is happening?

Would something like the included patch be accepted?

--
  Sam  http://samason.me.uk/

Attachment

pgsql-bugs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: lost statistics; analyze needs to execute twice
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #5025: Aggregate function with subquery in 8.3 and 8.4.