empty dates and changing the default date behaviour

From: Willy De la Court <Willy(dot)DelaCourt(at)pandora(dot)be>
To: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: empty dates and changing the default date behaviour
Date: 2000-03-01 19:58:07
Message-ID: 01BF83C0.D9066E20.Willy.DelaCourt@pandora.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2000-03-01 20:13:20 Re: [HACKERS] Re: NOT {NULL|DEFERRABLE} (was: bug in 7.0)
Previous Message Ross J. Reedstrom 2000-03-01 19:30:14 SQL92 standard corrections