Re: CHECKPOINT unlogged data - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: CHECKPOINT unlogged data
Date
Msg-id aDnjAJ3Ff_wbl-LL@msg.df7cb.de
Whole thread Raw
In response to Re: CHECKPOINT unlogged data  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Re: Andres Freund
> Hi,
> 
> On 2025-05-30 18:17:45 +0200, Christoph Berg wrote:
> > A customer reported to use CHECKPOINT before shutdowns to make the
> > shutdowns themselves faster and asked if it was possible to make
> > CHECKPOINT optionally also write out unlogged table data for that
> > purpose. I think the idea makes sense, so there's the patch.
> 
> I've seen the need for this quite a few times, fwiw. So +1 to the idea.

Do we want to officially mention this use case in checkpoint.sgml? I've
already replaced the "is not intended for use during normal operation"
wording by "not required during normal operation", but we might go one
step further and endorse it.

Christoph



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: CHECKPOINT unlogged data
Next
From: Andres Freund
Date:
Subject: Re: CHECKPOINT unlogged data