=?ISO-8859-1?Q?Torsten_F=F6rtsch?= <torsten.foertsch@xxxxxxx> 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