Re: page corruption after moving tablespace - Mailing list pgsql-bugs

From Jeff Davis
Subject Re: page corruption after moving tablespace
Date
Msg-id 1279908351.23350.35.camel@jdavis
Whole thread Raw
In response to page corruption after moving tablespace  (Jeff Davis <pgsql@j-davis.com>)
List 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

pgsql-bugs by date:

Previous
From: Alex Hunsaker
Date:
Subject: Re: BUG #5563: Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo)
Next
From: Daniel Grace
Date:
Subject: Re: BUG #5563: Odd behavior with aggregate_func(DISTINCT foo ORDER BY foo)