From: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
---|---|
To: | Max Johnson <max(dot)johnson(at)novatechautomation(dot)com> |
Cc: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, "tgl(at)sss(dot)pgh(dot)pa(dot)us" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: pg_ctl/miscinit: print "MyStartTime" as a long long instead of long to avoid 2038 problem. |
Date: | 2024-09-27 02:38:40 |
Message-ID: | ZvYasD2ROejOr1Fs@nathan |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Sep 25, 2024 at 08:04:59PM +0000, Max Johnson wrote:
> I think your patch looks good, no objections. I am happy to have contributed.
Great. I've attached what I have staged for commit.
My first instinct was to not bother back-patching this since all
currently-supported versions will have been out of support for over 8 years
by the time this becomes a practical issue. However, I wonder if it makes
sense to back-patch for the kinds of 32-bit embedded systems you cited
upthread. I can imagine that such systems might need to work for a very
long time without any software updates, in which case it'd probably be a
good idea to make this fix available in the next minor release. What do
you think?
--
nathan
Attachment | Content-Type | Size |
---|---|---|
v4-0001-Fix-Y2K38-issues-with-MyStartTime.patch | text/plain | 6.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2024-09-27 02:50:13 | Re: micro-optimize nbtcompare.c routines |
Previous Message | Fujii Masao | 2024-09-27 01:24:31 | Re: Modify comment in /postgres/src/bin/pg_walsummary/nls.mk |