Re: RFC: Add 'taint' field to pg_control. - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: RFC: Add 'taint' field to pg_control.
Date
Msg-id 2bbf1021-f4e0-1fd6-5a79-83c4394e96cd@2ndquadrant.com
Whole thread Raw
In response to RFC: Add 'taint' field to pg_control.  (Andres Freund <andres@anarazel.de>)
Responses Re: RFC: Add 'taint' field to pg_control.  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On 02/28/2018 10:43 PM, Andres Freund wrote:
> Hi,
> 
> a significant number of times during investigations of bugs I wondered
> whether running the cluster with various settings, or various tools
> could've caused the issue at hand.  Therefore I'd like to propose adding
> a 'tainted' field to pg_control, that contains some of the "history" of
> the cluster. Individual bits inside that field that I can think of right
> now are:
> - pg_resetxlog was used non-passively on cluster
> - ran with fsync=off
> - ran with full_page_writes=off
> - pg_upgrade was used
> 
> What do others think?
> 

Isn't the uncertainty usually that you know one of these things happened
on the cluster, but you don't know if that's the actual root cause?
That's my experience, at least.

That being said, I'm not strongly opposed to adding such field.


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Two small patches for the isolationtester lexer
Next
From: Peter Eisentraut
Date:
Subject: Re: RFC: Add 'taint' field to pg_control.