Re: [HACKERS] Problem with copying abstimes - Mailing list pgsql-hackers

From Frank Dana
Subject Re: [HACKERS] Problem with copying abstimes
Date
Msg-id 8bb399a3431f81e8e882658532b6406f
Whole thread Raw
In response to [HACKERS] Problem with copying abstimes  (Ronald Baljeu <rjb@xs4all.nl>)
List pgsql-hackers
With Shakespearian flourish, "Thomas G. Lockhart" writes:
> Ronald Baljeu wrote:
> >
> > I took a quick look at the source (src/backend/utils/adt/nabstime.c). It
> > really boggles my mind.
>
> Well, thank you! Though the really fun code is in dt.c...

I can vouch for that!

Thomas, I have your timezone-handling patches and will be testing
them later. It looks like they don't specifically address the AIX 3.2.5
problems, but do handle some niggling inconsistencies I'd been
experiencing after my own fixes and will make my patches smaller and
cleaner.

The main AIX 3.2.5 problem is that USE_POSIX_TIME cannot be applied, as
AIX 3.2.5 supports neither int timezone (even tho configure seems to
think it does) nor the Sun/DEC tm struct with tm_gmtoff field. The
non-POSIX time handling seems just plain broken. My patches will therefore
only affect AIX 3.2.5 and NeXTstep, the other platform without POSIX_TIME.

Last I heard from Darren (as of Friday) he hadn't tested under AIX 3.2.5.
AIX 4.1 supports POSIX_TIME and is therefore not a problem.

...Are there any NeXTstep'ers out there? I'd like to get my patches
tested for use on that platform too, as I don't _expect_ 6.1 to work
on NeXTstep in its current state. (If it does, I'd be even more
interested in hearing about that!!)

                                -Frank

- --
   Frank R. Dana, Jr.                Senior Associate Programmer
   danaf@ans.net                     ANS Communications
   (914) 789-5449                    100 Clearbrook Rd. Elmsford, NY 10523
   Pager: 800-946-4646 pin# 1420717

------------------------------

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] \dt and disk access
Next
From: aixssd!darrenk@abs.net (Darren King)
Date:
Subject: Re: [HACKERS] Problem with copying abstimes