Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Larry Zimmerman <laz@walleye.gonefishing.sk.ca>
To: axp-list@redhat.com
Subject: Re: Postgres for Alpha - it Works!
Date: Tue, 2 Jun 1998 23:13:08 -0600	[thread overview]
Message-ID: <199806030513.XAA06799@walleye.gonefishing.sk.ca> (raw)
In-Reply-To: Mail from 'Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>' dated: Tue, 2 Jun 1998 09:17:39 -0600 (MDT)


From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu> Tue, 2 Jun 1998
	
> 	Have you done any testing with the datetime datatype yet? On my
> system (UDB RH4.0, 2.0.30, gcc 2.7.2, libc 1.93), out of the box, postgres
> would throw a floating point exception whenever I tried to select a
> datetime field from a table. Insertation of dates went just fine. I
> tracked it to down to the decoding of a datetime from postgres's internal
> format to a more human readable format. Adding '-mieee' to the compile
> options and recompiling solved the problem. But now dates are off by about
> 13 hours, between the date I insert, and the date I get when I select it
> back out. If you do have dates working, I would be very interested in what
> version (snapshot date and everything) you are using of postgres. Thanks!

I have postgresql-6.3.2. The Directory in the tarfile is dated April 17.
I also have patches dated April 21, April 28, and April 30.
I tried the date stuff and it seemed to work.
I have a sample SQL input file, and output file at:
http://walleye.gonefishing.sk.ca/laz/pgsql/pgsql.html

Could the problem be related to the way you enter date or time?

I only enter dates as YY/MM/DD or YYYY/MM/DD. I tried entering 2 different
time formats - with AM/PM at end, and 24 hour time. Both seem to work.

Maybe one of these patches fised the problem for me?

I'm really not familiar with Postgres, so maybe I just lucked out!

Larry Z.



       reply	other threads:[~1998-06-03  5:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <rkirkpat@nag.cs.colorado.edu>
1998-06-03  5:13 ` Larry Zimmerman [this message]
1998-06-08 16:08   ` Postgres for Alpha - it Works! Ryan Kirkpatrick
1998-07-15  0:46 ` UDB TGA Larry Zimmerman
1998-07-15  0:47   ` Christopher Curtis
1998-07-15  9:46   ` Paul Wouters
1998-07-15 11:20     ` Paul Tomblin
1998-07-15 20:39       ` Todd Fleisher
1998-07-15 20:45         ` Paul Tomblin
1998-07-16  4:54       ` Rui-Tao Dong ~{6-HpLN~}
1998-07-15 12:21     ` Quant-X Alpha Linux Support
1998-07-15 14:09     ` Tim Rowley
1998-05-30  6:53 Postgres for Alpha - it Works! Larry Zimmerman
1998-05-30 11:01 ` Mark Smith
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox