pgsql: Pass DSA_ALLOC_HUGE when allocating a shared TIDBitmap.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Pass DSA_ALLOC_HUGE when allocating a shared TIDBitmap.
Date: 2017-03-27 12:37:34
Message-ID: E1csTtu-0004I2-GN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a171f01501e11a2ef65d437ac2397a0050892d88

Modified Files
--------------
src/backend/nodes/tidbitmap.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-03-27 13:25:19 Re: [COMMITTERS] pgsql: Improve access to parallel query from procedural languages.
Previous Message Robert Haas 2017-03-27 12:24:09 Re: [COMMITTERS] pgsql: Improve access to parallel query from procedural languages.