Re: Empty date - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: Empty date
Date
Msg-id 20050404091630.I568@hermes.hilbert.loc
Whole thread Raw
In response to Re: Empty date  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Sun, Apr 03, 2005 at 08:54:12PM -0400, Tom Lane wrote:
> >> area=> select 'infinity'::timestamp::date is null;
> >> ?column?
> >> ----------
> >> t
> >> (1 row)
> > Ah, thanks.
>
> I think this is a bug BTW.  If we can't convert the value correctly,
> we ought to raise an error not return NULL.
Which is *why* I wasn't sure how to interpret it.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

pgsql-general by date:

Previous
From: go
Date:
Subject: How to dump data from database?
Next
From: Michael Fuhr
Date:
Subject: Re: How to dump data from database?