timestamp-to-date broken in current sources

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: timestamp-to-date broken in current sources
Date: 2002-05-20 15:25:31
Message-ID: 22792.1021908331@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

With CVS tip (and float-type timestamps) I get

regression=# select date('2002-02-01 00:00:00'::timestamp);
date
------------
2000-01-01
(1 row)

Seems to be the same result no matter what timestamp is put in.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2002-05-20 15:39:28 Re: Unbounded (Possibly) Database Size Increase - Toasting
Previous Message Bear Giles 2002-05-20 15:22:31 Re: SASL, compression?