Re: check database integrity
| От | Torsten Förtsch |
|---|---|
| Тема | Re: check database integrity |
| Дата | |
| Msg-id | 53CF1D5C.8080200@gmx.net обсуждение исходный текст |
| Ответ на | Re: check database integrity (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: check database integrity
|
| Список | pgsql-general |
On 22/07/14 16:58, Tom Lane wrote: > Doh. I looked right at this code in get_raw_page yesterday: > > if (blkno >= RelationGetNumberOfBlocks(rel)) > elog(ERROR, "block number %u is out of range for relation \"%s\"", > blkno, RelationGetRelationName(rel)); > > 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? Thanks, Torsten
В списке pgsql-general по дате отправления: