Re: char(0)

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: char(0)
Дата
Msg-id j7gqct$vgm$1@dough.gmane.org
обсуждение исходный текст
Ответ на char(0)  (Susanne Ebrecht <susanne@2ndQuadrant.com>)
Ответы Re: char(0)  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-bugs
Susanne Ebrecht, 17.10.2011 09:31:
> Hello,
>
> I couldn't find that somebody already mentioned it.
>
> PostgreSQL isn't supporting CHAR(0).
>
> An empty string has a length of 0.
>
> CHAR(0) can have two values: NULL and empty string.
>
> In MySQL it is very common to simulate not null boolean
> by using CHAR(0).
>
> This is a little bit annoying on migration topics.

While not move on to a cleaner approach during the migration and use a "boolean not null"?

Thomas

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: char(0)
Следующее
От: Susanne Ebrecht
Дата:
Сообщение: Re: char(0)