Re: How to convert a binary filed to an integer field?

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: wei725(at)lycos(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to convert a binary filed to an integer field?
Date: 2010-08-25 19:45:21
Message-ID: 4C7572D1.7010902@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 08/25/2010 12:29 PM, wei725(at)lycos(dot)com wrote:
> I have an application in the product. Now, one status field needs to have three statuses instead of two. How to make a such change in PostgreSQL?
>

I am going to assume that by binary you mean boolean. If so it already
has three states NULL,True,False.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Geoghegan 2010-08-25 19:58:31 Re: How to convert a binary filed to an integer field?
Previous Message Raymond O'Donnell 2010-08-25 19:40:18 Re: How to convert a binary filed to an integer field?