Re: where to put NO_MKTIME_BEFORE_1970? - Mailing list pgsql-hackers

From Joe Conway
Subject Re: where to put NO_MKTIME_BEFORE_1970?
Date
Msg-id 3D5D1BB0.9010703@joeconway.com
Whole thread Raw
In response to where to put NO_MKTIME_BEFORE_1970?  (Joe Conway <mail@joeconway.com>)
Responses Re: where to put NO_MKTIME_BEFORE_1970?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Joe Conway <mail@joeconway.com> writes:
> 
>>I'm running Red Hat 7.3 at home. For the fun of it, I put:
>>   #define NO_MKTIME_BEFORE_1970
>>But I'm still getting the < 1970 regression test failures. What else do 
>>I need to do?
> 
> 
> I'd assume you need to select different regression comparison file(s)
> in src/test/regress/resultmap - probably horology-no-DST-before-1970.
> 

<slaps head>I guess that makes perfect sense!

Is /src/include/port/linux.h the correct place to put this or should 
something more specific to Red Hat 7.3 be used (and if so, any ideas 
about how to detect that Red Hat 7.3 is being used)?

Thanks,

Joe



pgsql-hackers by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: Coding help
Next
From: Bruce Momjian
Date:
Subject: Re: Open 7.3 items