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

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: How to convert a binary filed to an integer field?
Дата
Msg-id 4C7571A2.1010608@iol.ie
обсуждение исходный текст
Ответ на How to convert a binary filed to an integer field?  (wei725@lycos.com)
Список pgsql-general
On 25/08/2010 20:29, 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 a such change in
> PostgreSQL?

Perhaps an enumerated type?

    http://www.postgresql.org/docs/8.4/static/datatype-enum.html

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

В списке pgsql-general по дате отправления:

Предыдущее
От: wei725@lycos.com
Дата:
Сообщение: How to convert a binary filed to an integer field?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: How to convert a binary filed to an integer field?