Re: check database integrity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Torsten Förtsch <torsten(dot)foertsch(at)gmx(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: check database integrity
Date: 2014-07-23 04:01:41
Message-ID: 12853.1406088101@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?ISO-8859-1?Q?Torsten_F=F6rtsch?= <torsten(dot)foertsch(at)gmx(dot)net> writes:
> On 22/07/14 16:58, Tom Lane wrote:
>> RelationGetNumberOfBlocks reports the length of the main fork ... but
>> this check is applied regardless of which fork we're reading. Should
>> be using RelationGetNumberOfBlocksInFork, of course.

> Thanks for fixing it. I saw your GIT commit.

> Do you know how long it takes for the change to make it into a new pgdg
> debian package?

It will be awhile, since this patch just missed this week's releases :-(.

I believe it's pretty simple to rebuild Debian packages with patches added
to them, so you might take this as an opportunity to learn how to do
that...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-07-23 04:17:24 Re: PSQL Server couldn't start
Previous Message Kalai R 2014-07-23 04:01:15 PSQL Server couldn't start