Re: The ability of postgres to determine loss of files of the main fork - Mailing list pgsql-hackers

From Laurenz Albe
Subject Re: The ability of postgres to determine loss of files of the main fork
Date
Msg-id 083a4d75ab127a603743058bce26e79ba793494e.camel@cybertec.at
Whole thread Raw
In response to Re: The ability of postgres to determine loss of files of the main fork  (Frits Hoogland <frits.hoogland@gmail.com>)
Responses Re: The ability of postgres to determine loss of files of the main fork
List pgsql-hackers
On Wed, 2025-10-01 at 13:58 +0200, Frits Hoogland wrote:
> I am proposing the database to have the ability to detect when it has missing segments.

Just a random idea: one solution would be if each segment has a flag that indicates
if that is the last segment or not.  But that would break the on-disk storage format,
unless there is room left for an extra flag somewhere in the current layout.

Yours,
Laurenz Albe



pgsql-hackers by date:

Previous
From: Daniil Davydov
Date:
Subject: Re: Prevent internal error at concurrent CREATE OR REPLACE FUNCTION
Next
From: Andres Freund
Date:
Subject: Re: The ability of postgres to determine loss of files of the main fork