]> granicus.if.org Git - postgresql/commit
Improve coding in _hash_addovflpage.
authorRobert Haas <rhaas@postgresql.org>
Tue, 10 Jan 2017 13:26:52 +0000 (08:26 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 10 Jan 2017 13:31:03 +0000 (08:31 -0500)
commite898437460f55b49623d1aea435cd92e0011d54d
tree8b7ecd13550885604184c31247dea476b5a8c236
parent2ef6fe9cbae9fe7789a35cbc5fa1bbf78c163d42
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.
src/backend/access/hash/hashovfl.c