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: | RE: [HACKERS] empty dates and changing the default date behaviour |
Date: | 2000-03-01 20:43:21 |
Message-ID: | 01BF83C7.2A629EA0.Willy.DelaCourt@pandora.be |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Tom Lane [SMTP:tgl(at)sss(dot)pgh(dot)pa(dot)us] wrote:
> Willy De la Court <Willy(dot)DelaCourt(at)pandora(dot)be> writes:
> > 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.
>
> Not possible at present, since a datatype's typinput function can't
> return a NULL. I suppose it will be possible after we redo the
> function manager interface, but in any case you'd have no hope of
> changing the behavior "without recompiling postgres".
Ok how do i do it with recompiling postgres I badly need this functionality.
I know some C programming but not enough to dive into the source of postgres.
any suggestions.
From | Date | Subject | |
---|---|---|---|
Next Message | Willy De la Court | 2000-03-02 00:49:55 | RE: [HACKERS] empty dates and changing the default date behaviour |
Previous Message | Bruce Momjian | 2000-03-01 20:26:59 | Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST) |