char(0)

Поиск
Список
Период
Сортировка
От Susanne Ebrecht
Тема char(0)
Дата
Msg-id 4E9BD9E2.2010305@2ndQuadrant.com
обсуждение исходный текст
Ответы Re: char(0)  (PostgreSQL - Hans-Jürgen Schönig<postgres@cybertec.at>)
Re: char(0)  (Simon Riggs <simon@2ndQuadrant.com>)
Re: char(0)  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-bugs
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.

Susanne

--
Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com

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

Предыдущее
От: Sachin Srivastava
Дата:
Сообщение: Re: BUG #6255: Unable to Install (Binary, One Click Installer
Следующее
От: PostgreSQL - Hans-Jürgen Schönig
Дата:
Сообщение: Re: char(0)