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

Re: Avoiding unnecessary reads in recovery

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Avoiding unnecessary reads in recovery
Date: 2007-04-25 15:02:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Gregory Stark wrote:
> So in short I think with your patch this piece of code no longer has a role.
> Either your patch kicks in and we never even look at the damaged page at all,
> or we should be treating it as corrupt data and just check zero_damaged_pages
> alone and not do anything special in recovery.

Good point. Adjusted patch attached. I added some comments as well.

   Heikki Linnakangas

Attachment: skip-unnecessary-reads-on-recovery-2.patch
Description: text/x-diff (5.0 KB)

In response to

pgsql-hackers by date

Next:From: Simon RiggsDate: 2007-04-25 15:16:20
Subject: Re: Avoiding unnecessary reads in recovery
Previous:From: Andrew DunstanDate: 2007-04-25 15:02:49
Subject: Re: ECPG failure on BF member Vaquita (Windows Vista)

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