Re: Operation log for major operations - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Operation log for major operations
Date
Msg-id 20221123090021.ba5johlgwwdx2nzm@alvherre.pgsql
Whole thread Raw
In response to Operation log for major operations  (Dmitry Koval <d.koval@postgrespro.ru>)
Responses Re: Operation log for major operations
List pgsql-hackers
On 2022-Nov-21, Dmitry Koval wrote:

> Concepts.
> ---------
> * operation log is placed in the file 'global/pg_control', starting from
> position 4097 (log size is 4kB);

I think storing this in pg_control is a bad idea.  That file is
extremely critical and if you break it, you're pretty much SOL on
recovering your data.  I suggest that this should use a separate file.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"All rings of power are equal,
But some rings of power are more equal than others."
                                 (George Orwell's The Lord of the Rings)



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Non-decimal integer literals
Next
From: Alvaro Herrera
Date:
Subject: Re: odd buildfarm failure - "pg_ctl: control file appears to be corrupt"