Re: pg_ctl/miscinit: print "MyStartTime" as a long long instead of long to avoid 2038 problem. - Mailing list pgsql-hackers

From Max Johnson
Subject Re: pg_ctl/miscinit: print "MyStartTime" as a long long instead of long to avoid 2038 problem.
Date
Msg-id CO1PR07MB90520AC8D94BB410500480FF8D692@CO1PR07MB9052.namprd07.prod.outlook.com
Whole thread Raw
In response to Re: pg_ctl/miscinit: print "MyStartTime" as a long long instead of long to avoid 2038 problem.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi Nathan,

I think your patch looks good, no objections. I am happy to have contributed.

Thanks,
Max

From: Nathan Bossart <nathandbossart@gmail.com>
Sent: Wednesday, September 25, 2024 1:48 PM
To: Max Johnson <max.johnson@novatechautomation.com>
Cc: tgl@sss.pgh.pa.us <tgl@sss.pgh.pa.us>; pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: pg_ctl/miscinit: print "MyStartTime" as a long long instead of long to avoid 2038 problem.
 
On Wed, Sep 25, 2024 at 03:17:45PM +0000, Max Johnson wrote:
> I have amended my patch to reflect the changes that were discussed and
> have verified on my system that it works the same as before. I have also
> fixed a typo and changed the name of the patch to more accurately reflect
> what it does now. Please let me know if there is anything else you'd like
> me to do.

Thanks!  I went through all the other uses of MyStartTime and fixed those
as needed, too.  Please let me know what you think.

--
nathan

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: [PATCH] Support Int64 GUCs
Next
From: Alvaro Herrera
Date:
Subject: Re: not null constraints, again