Re: Use true and false when bulk-exporting boolean data

From: Henry Drexler <alonup8tb(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Use true and false when bulk-exporting boolean data
Date: 2011-10-17 19:13:32
Message-ID: CAAtgU9SSHEZ4TG4Qz1+4heUaGkiK=6xqbg04+e_KVpULqWQ5hw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 17, 2011 at 3:11 PM, Henry Drexler <alonup8tb(at)gmail(dot)com> wrote:

> couldn't you just wrap it in a case statement to change the t to true
> etc...?
>
>
example:

select
case when (1=1) = true then 'true' else 'false' end

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Salisbury 2011-10-17 19:15:12 Re: exclusive OR possible within a where clause?
Previous Message Henry Drexler 2011-10-17 19:11:09 Re: Use true and false when bulk-exporting boolean data