insert of date is wrong

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: insert of date is wrong
Date: 2001-07-24 18:21:02
Message-ID: 200107241821.f6OIL2n49564@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Marcos (tanzarian(at)bol(dot)com(dot)br) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
insert of date is wrong

Long Description
when I insert the date '1914/01/01' in a column with the 'date' format, the table returns the value '1913/12/31'

Sample Code
insert into d values ('1914/01/01');
select * from d;
this command return : '1913/12/31'

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-07-25 02:07:05 pg_dump doesn't handle CREATE FUNCTIONs well
Previous Message Stephan Szabo 2001-07-24 17:43:27 Re: real or float4 '=' operator is broken in 7.1.2