Skip site navigation (1) Skip section navigation (2)

Re: WAL & RC1 status

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: WAL & RC1 status
Date: 2001-03-03 00:21:57
Message-ID: 5007.983578917@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
ncm(at)zembu(dot)com (Nathan Myers) writes:
> It Seems to Me that after an orderly shutdown, the WAL files should be, 
> effectively, slag -- they should contain no deltas from the current 
> table contents.  In practice that means the only part of the format that 
> *should* matter is whatever it takes to discover that they really are 
> slag.

> That *should* mean that, at worst, a change to the WAL file format should 
> only require doing an orderly shutdown, and then (perhaps) running a simple
> program to generate a new-format empty WAL.  It ought not to require an 
> initdb.  

Excellent point, considering that we were already thinking of making a
handy-dandy little utility to remove broken WAL files...  Shouldn't take
much more than that to build something that also reformats pg_control.
Thanks for the suggestion!

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Christof PetigDate: 2001-03-03 11:30:58
Subject: Query Planning time increased 3 times on 7.1 compared to 7.0.3
Previous:From: Tom LaneDate: 2001-03-03 00:13:29
Subject: Re: Re: Turkish locale bug

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group