pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Josh berkus <josh@agliodbs.com>
Cc: Peter Geoghegan <pg@heroku.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: Joe Conway <mail@joeconway.com>
Cc: Victor Yegorov <vyegorov@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Reviewing freeze map code
Date: Wed, 18 May 2016 15:43:48 -0700
Message-ID: <20160518224348.2psbzfen2xqros3a@alap3.anarazel.de> (raw)
In-Reply-To: <15161.1463611336@sss.pgh.pa.us>
References: <CA+TgmoYE6wCKpoxnoJfqizpi-zTYHvjgN0YWR-hPzbZDWR_m6w@mail.gmail.com>
	<CAGnEboiRvMQeyHW4RqtY8Lb4vVTT6hKg_eCEnM=J+yXm3sETVQ@mail.gmail.com>
	<573C77AF.8030201@joeconway.com>
	<CAMkU=1ygHztvjr-hS3RRLyYmEdZkTDrwf5Cjch4xa5HLcpZRDQ@mail.gmail.com>
	<CAM3SWZQqqrA+EGaandmr9bOHM1-pcuDs3Ey5HDLCFc0C_4DCYw@mail.gmail.com>
	<WM!c3a6cf0190f9c5d6f5a9a6310a38bac5c64c41d23fe8f04f9856771643267f4ec3291c98a2074de25420aae13297044e!@asav-3.01.com>
	<573CCB9C.50705@agliodbs.com>
	<15044.1463610339@sss.pgh.pa.us>
	<20160518223436.w32fzgoui6gaaj4p@alap3.anarazel.de>
	<15161.1463611336@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2016-05-18 18:42:16 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On 2016-05-18 18:25:39 -0400, Tom Lane wrote:
> >> Yes, I've been wondering that too.  VACUUM is not meant as a corruption
> >> checker, and should not be made into one, so what is the point of this
> >> flag exactly?
> 
> > Well, so far a VACUUM FREEZE (or just setting vacuum_freeze_table_age =
> > 0) verified the correctness of the visibility map; and that found a
> > number of bugs.  Now visibilitymap grew additional responsibilities,
> > with a noticeable risk of data eating bugs, and there's no way to verify
> > whether visibilitymap's frozen bits are set correctly.
> 
> Meh.  I'm not sure we should grow a rather half-baked feature we'll never
> be able to remove as a substitute for a separate sanity checker.  The
> latter is really the right place for this kind of thing.

It's not a new feature, it's a feature we removed as a side effect. And
one that allows us to evaluate whether the new feature actually works.


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (256+ messages)  latest in thread

Message-ID: <20160518224348.2psbzfen2xqros3a@alap3.anarazel.de>
Permalink:  ../20160518224348.2psbzfen2xqros3a@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20160518224348.2psbzfen2xqros3a@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, josh@agliodbs.com, pg@heroku.com, jeff.janes@gmail.com, mail@joeconway.com, vyegorov@gmail.com, robertmhaas@gmail.com
  Subject: Re: Reviewing freeze map code
  In-Reply-To: <20160518224348.2psbzfen2xqros3a@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox