From: | "Ariel E(dot) Carn/Elizabeth Sosa" <acarna(at)tarifar(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #1630: Wrong conversion in to_date() function. See example. |
Date: | 2005-04-26 22:48:12 |
Message-ID: | 20050426224812.9F7DAF0C61@svr2.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 1630
Logged by: Ariel E. Carn/Elizabeth Sosa
Email address: acarna(at)tarifar(dot)com
PostgreSQL version: 7.3.8/7.4.6
Operating system: SuSE Linux
Description: Wrong conversion in to_date() function. See example.
Details:
Case PgSQL 7.3.8/SuSE Linux 8.2 (i586)
======================================
PROD=# select to_date('2005-02-32', 'YYYY-MM-DD');
to_date
------------
2005-03-04
(1 row)
PROD=# select version();
version
----------------------------------------------------------------------------
-----------------------------
PostgreSQL 7.3.8 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3
20030226 (prerelease) (SuSE Linux)
(1 row)
Case PgSQL 7.4.6/SuSE Linux 9.2
(i586)======================================
PROD=> select to_date('2005-02-32', 'YYYY-MM-DD');
to_date
------------
04-03-2005
(1 row)
PROD=> select version();
version
----------------------------------------------------------------------------
-----------------
PostgreSQL 7.4.6 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.4 (pre
3.3.5 20040809)
(1 row)
From | Date | Subject | |
---|---|---|---|
Next Message | Lasantha Kularatne | 2005-04-27 02:03:24 | Re: BUG #1625: INTALL PROBLEM |
Previous Message | Tom Lane | 2005-04-26 22:03:17 | Re: BUG #1626: Minimum documented values aren't accepted for all basic integer types |