case with distinct - Mailing list pgsql-bugs

From Merrill Oveson
Subject case with distinct
Date
Msg-id 3A3670C9.6E6C0E9F@actarg.com
Whole thread Raw
Responses Re: case with distinct  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
This works:
    select
            orgid,
            case when status = 'y' then '1' else '0' end
            from vend


This doesn't:
     select distinct
            orgid,
            case when status = 'y' then '1' else '0' end
            from vend

The only difference is the absence of distinct clause.
bug?

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Solaris ODBC - linker flag needs to be set when building shared objects
Next
From: Tom Lane
Date:
Subject: Re: constrains of array