RE: How to reset WAL enveironment - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: How to reset WAL enveironment
Date
Msg-id 8F4C99C66D04D4118F580090272A7A234D31CF@sectorbase1.sectorbase.com
Whole thread Raw
In response to How to reset WAL enveironment  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-hackers
> I see now the following message and couldn't start
> postmaster.
> 
> FATAL 2:  btree_insert_redo: uninitialized page
> 
> Is it a bug ?

Seems so. btree_insert_redo shouldn't see uninitialized pages
(only newroot and split ops add pages to index and they should
be redone before insert op).
Can you post/ftp me tgz of data dir?
Or start up postmaster with --wal_debug=1 and send me
output.

> Anyway,how do I reset my WAL environment ?

Only one way - remove index file. I didn't add file node
to elog output yet (will do for beta2), but wal_debug
will show it.

Vadim


pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: How to reset WAL enveironment
Next
From: Hiroshi Inoue
Date:
Subject: Re: How to reset WAL enveironment