Re: page corruption after moving tablespace

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: page corruption after moving tablespace
Date: 2010-07-23 18:05:51
Message-ID: 1279908351.23350.35.camel@jdavis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, 2010-07-22 at 23:50 -0700, Jeff Davis wrote:
> I think the simple fix would be to have copy_relation_data call
> PageInit() if it's a new page.

On second thought, why are PageSetLSN and PageSetTLI being called from
log_newpage(), anyway? It says that all of the callers use smgr
directly, rather than the buffer cache.

Regards,
Jeff Davis

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Grace 2010-07-23 18:19:01 Re: BUG #5563: Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo)
Previous Message Alex Hunsaker 2010-07-23 17:42:22 Re: BUG #5563: Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo)