Thread: Why doesn't smgr_redo truncate the VM fork too?

Why doesn't smgr_redo truncate the VM fork too?

From
Tom Lane
Date:
Seems inconsistent ...
        regards, tom lane


Re: Why doesn't smgr_redo truncate the VM fork too?

From
Heikki Linnakangas
Date:
Tom Lane wrote:
> Seems inconsistent ...

Indeed. Seems like an oversight.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


Re: Why doesn't smgr_redo truncate the VM fork too?

From
Tom Lane
Date:
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> Tom Lane wrote:
>> Seems inconsistent ...

> Indeed. Seems like an oversight.

OK, will fix since I'm fooling with that code anyway.
        regards, tom lane


Re: Why doesn't smgr_redo truncate the VM fork too?

From
Heikki Linnakangas
Date:
Tom Lane wrote:
> Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
>> Tom Lane wrote:
>>> Seems inconsistent ...
> 
>> Indeed. Seems like an oversight.
> 
> OK, will fix since I'm fooling with that code anyway.

Thanks. While we're at it, the comment above visibilitymap_truncate()
has a copy-pasto in it (it claims the function is called visibilitymap_test)

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com