empty dates and changing the default date behaviour

Поиск
Список
Период
Сортировка
От Willy De la Court
Тема empty dates and changing the default date behaviour
Дата
Msg-id 01BF83C0.D9066E20.Willy.DelaCourt@pandora.be
обсуждение исходный текст
Ответы Re: [HACKERS] empty dates and changing the default date behaviour
Список pgsql-hackers
Hi,

First of all I want to congratulate all the people working on PostgreSQL for a job well done.

Now my problem.

I want to change the default behaviour of the data_in function without recompiling postgres.
the functionality is the following.

create table test (d date);
insert into test values ('');

this should result in the field d containing NULL and the insert command should work without returning an error.

Is this possible and how do I do this.




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: bit types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)