Re: PostgreSQL

Поиск
Список
Период
Сортировка
От Robert Hentosh
Тема Re: PostgreSQL
Дата
Msg-id Pine.LNX.4.44.0301110623150.2488-100000@eris.io.com
обсуждение исходный текст
Ответ на PostgreSQL  ("Om Computer & Software S.R.L." <omc@rdsnet.ro>)
Список pgsql-bugs
On Fri, 10 Jan 2003, Om Computer & Software S.R.L. wrote:

> When inserting a row into a table, if there is a varchar column and if
> in that column the value to be inserted is a zero length string (like
> ''), then instead of writing a null value, PostgreSQL writes that zero
> length string. We are able to do this with delphi which generates such
> sql insert phrases. We contacted Borland, but there was no answer. I
> don't know if this is a bug, but I'm sure that inserting a null value
> instead of a zero length string would help us a lot.

NULL and an empty string are two different things.  NULL is supposed to
represent an unknown value.  This is similar to NULL in the integer space,
where NULL is not the same as a 0.

Postgresql is following the spec in this regard.

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

Предыдущее
От: Florian Wunderlich
Дата:
Сообщение: Re: Bug #866: Cursor scrolling broken in 7.3.1 (works in 7.2.1)
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #871: FW: How to solve the problem