Re: Time / Date -fieldtype

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Time / Date -fieldtype
Дата
Msg-id 20030304141850.GA16484@wolff.to
обсуждение исходный текст
Ответ на Time / Date -fieldtype  (Aarni Ruuhimäki <aarni.ruuhimaki@kymi.com>)
Ответы Re: Time / Date -fieldtype  (Aarni Ruuhimäki <aarni.ruuhimaki@kymi.com>)
Список pgsql-novice
On Tue, Mar 04, 2003 at 15:48:51 +0200,
  Aarni Ruuhimäki <aarni.ruuhimaki@kymi.com> wrote:
> Hi folks !
>
> What is the proper type for date or timestamp so that the field can also be
> null or empty when inserting new rows?
>
> I have to have fields for applied, accepted and renewed for a product license
> and not all are necessarily present when creating a new product. Now I get
> 'bad timestamp external representation' for an empty form field.

'' is not the same as NULL .

Your app probably needs to look for empty date and/or timestamp strings
and replace them with NULL .

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

Предыдущее
От: Aarni Ruuhimäki
Дата:
Сообщение: Time / Date -fieldtype
Следующее
От: Aarni Ruuhimäki
Дата:
Сообщение: Re: Time / Date -fieldtype