Обсуждение: [COMMITTERS] pgsql: Fix failure when a shared tidbitmap has only one page.

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Fix failure when a shared tidbitmap has only one page.

От
Robert Haas
Дата:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4c3b59abf4c476843bca23de7fb66d647627f30e

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