]> granicus.if.org Git - postgresql/commit
Fix failure when a shared tidbitmap has only one page.
authorRobert Haas <rhaas@postgresql.org>
Tue, 11 Apr 2017 16:03:12 +0000 (12:03 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 11 Apr 2017 16:06:01 +0000 (12:06 -0400)
commit4c3b59abf4c476843bca23de7fb66d647627f30e
tree9ec159382072d6b1c82ef880a35c2c82a1864895
parent28b047875554b29837cded70a19384dae107c61a
Fix failure when a shared tidbitmap has only one page.

Commit 98e6e89040a0534ca26914c66cae9dd49ef62ad9 made inadequate
provision for the case of a single-page shared tidbitmap.  It
allocate space for a shared PagetableEntry, but failed to
initialize it.

Report by Thomas Munro.  Patch by Dilip Kumar, with some comment
changes by me.

Discussion: http://postgr.es/m/CAEepm=19Cmnfbi-j2Bw-a6yGPeHE1OVhKvvKz9bRBTJGKfGHMA@mail.gmail.com
src/backend/nodes/tidbitmap.c