Re: ODBC Driver 9->11, troubles with dates/NULL...

Поиск
Список
Период
Сортировка
От Clemens Ladisch
Тема Re: ODBC Driver 9->11, troubles with dates/NULL...
Дата
Msg-id d76c867b-1c76-9ec0-cb7b-57b7702fac96@ladisch.de
обсуждение исходный текст
Ответ на ODBC Driver 9->11, troubles with dates/NULL...  (Marco Gaiarin <gaio@sv.lnf.it>)
Ответы Re: ODBC Driver 9->11, troubles with dates/NULL...  (Marco Gaiarin <gaio@sv.lnf.it>)
Список pgsql-odbc
Marco Gaiarin wrote:
> ERRORE:  sintassi di input non valida per il tipo date: ""
> ISTRUZIONE:  INSERT INTO PROTOCOLLI ( ... DATA_REGIST ...) VALUES ( ... E'' ... )
>
> while the table expect a non-NULL:
>
>                Tabella "public.protocolli"
>      Colonna      |          Tipo          | Modificatori
> ------------------+------------------------+--------------
> ...
>  data_regist      | date                   | non null

Why are you mentioning NULL?  This is an empty string, which is not a valid date.

Are you sure that the ODBC driver version makes a difference?
Where should a valid date value come from, if not from the application?


Regards,
Clemens



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

Предыдущее
От: Marco Gaiarin
Дата:
Сообщение: ODBC Driver 9->11, troubles with dates/NULL...
Следующее
От: Marco Gaiarin
Дата:
Сообщение: Re: ODBC Driver 9->11, troubles with dates/NULL...