Re: How to convert a binary filed to an integer field? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: How to convert a binary filed to an integer field?
Date
Msg-id 4C7572D1.7010902@gmail.com
Whole thread Raw
In response to How to convert a binary filed to an integer field?  (wei725@lycos.com)
Responses Re: How to convert a binary filed to an integer field?
List pgsql-general
On 08/25/2010 12:29 PM, wei725@lycos.com wrote:
> I have an application in the product. Now, one status field needs to have three statuses instead of two. How to make
asuch 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.klaver@gmail.com

pgsql-general by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: How to convert a binary filed to an integer field?
Next
From: Peter Geoghegan
Date:
Subject: Re: How to convert a binary filed to an integer field?