Pass DSA_ALLOC_HUGE when allocating a shared TIDBitmap.
Robert Haas <rhaas@postgresql.org>
Pass DSA_ALLOC_HUGE when allocating a shared TIDBitmap. When creating an unshared TIDBitmap, we pass MCXT_ALLOC_HUGE to allow allocations >1GB, so by analogy we pass DSA_ALLOC_HUGE for a shared TIDBitmap. Bug introduced by commit 98e6e89040a0534ca26914c66cae9dd49ef62ad9. Report by Rafia Sabih, fix by Dilip Kumar, adjusted by me. Discussion: http://postgr.es/m/CAOGQiiPpSnkuKq+oUK_bvQFg2EPGFPN8RwgxTgBa6HU_kQa3EA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/tidbitmap.c | modified | +4 −2 |
Discussion
- Parallel bitmap heap scan 128 messages · 2016-10-07 → 2017-03-27