empty dates and changing the default date behaviour - Mailing list pgsql-hackers

From Willy De la Court
Subject empty dates and changing the default date behaviour
Date
Msg-id 01BF83C0.D9066E20.Willy.DelaCourt@pandora.be
Whole thread Raw
Responses Re: [HACKERS] empty dates and changing the default date behaviour  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: bit types
Next
From: Tom Lane
Date:
Subject: Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)