Re: when the startup process doesn't - Mailing list pgsql-hackers

From Tom Lane
Subject Re: when the startup process doesn't
Date
Msg-id 867286.1623073349@sss.pgh.pa.us
Whole thread Raw
In response to Re: when the startup process doesn't  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: when the startup process doesn't  (Nitin Jadhav <nitinjadhavpostgres@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> ... I doubt that we can get away
> with a GetCurrentTimestamp() after applying every WAL record ... that
> seems like it will be slow.

Yeah, that's going to be pretty awful even on machines with fast
gettimeofday, never mind ones where it isn't.

It should be possible to use utils/misc/timeout.c to manage the
interrupt, I'd think.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: when the startup process doesn't
Next
From: Robert Haas
Date:
Subject: Re: [bug?] Missed parallel safety checks, and wrong parallel safety