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

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: (view raw, whole thread or download thread mbox)
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


pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group