Re: [BUGS] Date calc bug

From: Olivier PRENANT <ohp(at)pyrenet(dot)fr>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tulassay Zsolt <zsolt(at)tek(dot)bke(dot)hu>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [BUGS] Date calc bug
Date: 2000-01-04 18:07:38
Message-ID: Pine.UW2.4.21.0001041905510.13631-200000@server.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Thanks you!!

Patch applied and tested.

Great job.

That's exactly the reason why I love Internet and postresql.

You find a bug.. Send a message and correct it.

Best wishes for 2000.

Regards

On Tue, 4 Jan 2000, Thomas Lockhart wrote:

> > forum=> select datetime(now())+'74565 days'::timespan as ido;
> > Thu Jan 19 14:07:30 2068
> and
> > select '12-01-1999'::datetime + '@ 1 month - 1 sec' ;
> > Thu Dec 30 23:59:59 1999 EST
>
> I've repaired both problems in both the development and release trees.
> Thanks for the reports and analysis. Patch enclosed...
>
> - Thomas
>
>

--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
Quartier d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

Attachment Content-Type Size
dt.c.patch text/plain 1.5 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2000-01-04 19:45:08 Re: [BUGS] vacuum analyze corrupts db with larger tuples (< 8k)]
Previous Message Tom Lane 2000-01-04 17:30:54 Re: [BUGS] vacuum analyze corrupts db with larger tuples (< 8k)

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2000-01-04 19:07:11 Re: [HACKERS] Inprise/Borland releasing Interbase as Opensource
Previous Message pgsql-hackers 2000-01-04 17:40:44 Error compiling 6.5.3 on Solaris 2.7/x86 with Sun C compiler 5.0