Re: Possible to insert quoted null value into integer field?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Possible to insert quoted null value into integer field?
Дата
Msg-id 20040826023546.GA31687@svana.org
обсуждение исходный текст
Ответ на Re: Possible to insert quoted null value into integer field?  (Jerry Sievers <jerry@jerrysievers.com>)
Список pgsql-general
On Tue, Aug 24, 2004 at 08:23:14AM -0400, Jerry Sievers wrote:
> As I recall, there is a comment in the release notes somewhere between
> your PG version and the current one, that int cols no longer take
> empty string as NULL.

IIRC, an empty string was interpreted as a zero, never as a NULL.
It is now (rightfully) rejected...
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Problem to connect to the Windows Port
Следующее
От: Benjamin Smith
Дата:
Сообщение: Constraints to Guarantee unique across tables with foreign key?