[COMMITTERS] pgsql: Improve coding in _hash_addovflpage. - Mailing list pgsql-committers

From Robert Haas
Subject [COMMITTERS] pgsql: Improve coding in _hash_addovflpage.
Date
Msg-id E1cQwc5-0007he-Cc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve coding in _hash_addovflpage.

Instead of relying on the page contents to know whether we have
advanced from the primary bucket page to an overflow page, track
that explicitly.

Amit Kapila, per a complaint by me.

Branch
------
master

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

Modified Files
--------------
src/backend/access/hash/hashovfl.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Stephen Frost
Date:
Subject: [COMMITTERS] pgsql: Fix invalid-parallel-jobs error message
Next
From: Alvaro Herrera
Date:
Subject: [COMMITTERS] pgsql: Fix overflow check in StringInfo; add missing casts