hash: Fix write-ahead logging bug.
authorRobert Haas <rhaas@postgresql.org>
Wed, 5 Apr 2017 15:45:35 +0000 (11:45 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 5 Apr 2017 15:45:35 +0000 (11:45 -0400)
commit75a1cbdc3cfca1e815da6dfa5d7e96d82a6b0725
tree05a2c28c0bac8cce609976f16e9e4ab3016780f4
parent4deb413813f619b3e859abf435b61efc09cafe09
hash: Fix write-ahead logging bug.

The size of the data is not the same thing as the size of the size of
the data.

Reported off-list by Tushar Ahuja.  Fix by Ashutosh Sharma, reviewed
by Amit Kapila.

Discussion: http://postgr.es/m/CAE9k0PnmPDXfvf8HDObme7q_Ewc4E26ukHXUBPySoOs0ObqqaQ@mail.gmail.com
src/backend/access/hash/hash.c