On Mon, 2007-06-25 at 12:34 -0400, Tom Lane wrote: > Dan Gorman <dgorman@xxxxxxx> writes: > > Jun 21 00:39:43 sfmedstorageha001 postgres[3506]: [9-1] 2007-06-21 > > 00:39:43 PDTLOG: redo done at 71/99870670 This is mid-way through an xlog file. > > Jun 21 00:39:43 sfmedstorageha001 postgres[3506]: [10-1] 2007-06-21 > > 00:39:43 PDTWARNING: page 28905 of relation 1663/16384/76718 was > > uninitialized > > ... lots of these ... > > Jun 21 00:39:43 sfmedstorageha001 postgres[3506]: [40-1] 2007-06-21 > > 00:39:43 PDTPANIC: WAL contains references to invalid pages > > (BTW, you'll find putting a space at the end of log_line_prefix > does wonders for log readability.) > > Reformatting and sorting, we have > > WARNING: page 28900 of relation 1663/16384/76718 was uninitialized > WARNING: page 28902 of relation 1663/16384/76718 was uninitialized > WARNING: page 26706 of relation 1663/16384/76719 was uninitialized > WARNING: page 26708 of relation 1663/16384/76719 was uninitialized Those two are interesting because we appear to have two valid pages in the middle of some uninitialized ones. That implies were not looking at an unapplied truncation. -- Simon Riggs EnterpriseDB http://www.enterprisedb.com