daveg <daveg(at)sonic(dot)net> writes:
> We have installed the patch and have encountered the error as usual.
> However there is no additional output from the patch. I'm speculating
> that the pg_class scan in ScanPgRelationDetailed() fails to return
> tuples somehow.
Evidently not, if it's not logging anything, but now the question is
why. One possibility is that for some reason RelationGetNumberOfBlocks
is persistently lying about the file size. (We've seen kernel bugs
before that resulted in transiently wrong values, so this isn't totally
beyond the realm of possibility.) Please try the attached patch, which
extends the previous one to add a summary line including the number of
blocks physically scanned by the seqscan.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Peter Geoghegan||Date: 2011-08-03 15:31:10|
|Subject: Re: Further news on Clang - spurious warnings|
|Previous:||From: Kevin Grittner||Date: 2011-08-03 14:48:31|
|Subject: Re: WIP fix proposal for bug #6123|