Re: date -> timestamp casting bug (integer datetimes)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: date -> timestamp casting bug (integer datetimes)
Date: 2007-09-26 01:41:38
Message-ID: 11010.1190770898@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Neil Conway <neilc(at)samurai(dot)com> writes:
> When integer datetimes are in use, the legal range of the "date" type
> actually exceeds that of the "timestamp" type. However, the cast from
> date => timestamp fails to take this into account:

Fixed, but I didn't bother to back-patch it.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message libpg.dll problem while changing from version 8.2.4 no-installer to 8.2.5 no-installer 2007-09-26 10:01:31 BUG #3635: libpg.dll localization change
Previous Message Magnus Hagander 2007-09-25 17:22:32 Re: Documentation