Re: 8.2 pg_freespacemap crash
| От | Tom Lane |
|---|---|
| Тема | Re: 8.2 pg_freespacemap crash |
| Дата | |
| Msg-id | 16765.1239122007@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | 8.2 pg_freespacemap crash (Dimitri Fontaine <dfontaine@hi-media.com>) |
| Ответы |
Re: 8.2 pg_freespacemap crash
|
| Список | pgsql-bugs |
Dimitri Fontaine <dfontaine@hi-media.com> writes:
> Thanks to Andrew Gierth (irc:RhodiumToad) and after some analysis and we've
> been able to understand what happened: MaxFSMPages is not the maximum number
> of elements (tables and indexes) contained into the FSM memory, and the
> contrib believes it is.
Hmm. Actually the freespace.c code rounds that number up to the next
multiple of CHUNKPAGES:
/* Allocate page-storage arena */
nchunks = (MaxFSMPages - 1) / CHUNKPAGES + 1;
So your 2x patch is way overkill, but we do have an issue here.
regards, tom lane
В списке pgsql-bugs по дате отправления: