Re: Error in the date field (with NULL value...).Thanks!

Поиск
Список
Период
Сортировка
Искать
От
Thomas Lockhart
Тема
Re: Error in the date field (with NULL value...).Thanks!
Дата
Msg-id
3AC4261D.4B452415@alumni.caltech.edu
Список
Дерево обсуждения
Error in the date field (with NULL value...).Thanks! Maurizio Ortolan <crix98__@tin.it>
> How can I "binds" PostgreSQL to consider '' as null ?

You can modify src/backend/utils/{datetime,date,timestamp}.c to accept
an empty string as a null value. But imho it is better to fix this in
your input file, perhaps using sed:

  sed "s/''/NULL/g" < informix.dump > pg.dump

                        - Thomas
В списке pgsql-patches по дате отправления
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [ODBC] Cleanup of ODBC
От: Justin Clift
Дата:
Сообщение: Modulo bug patch for 7.0.3
FAQ