Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Tue, 25 Sep 2007 21:41:38 -0400
  • Message-id: <11010.1190770898@sss.pgh.pa.us> <text/plain>

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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group