diff options
author | Peter Geoghegan <pg@bowt.ie> | 2019-08-14 11:32:35 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2019-08-14 11:32:35 -0700 |
commit | 9c02cf56614366769682bb8b3f4e9eecf8f237c4 (patch) | |
tree | d37e3b9ec76feb1401f3745f2ec6dd690069c3ba /src/backend/executor/nodeModifyTable.c | |
parent | fded4773eb60541c6e7dbcf09c9bcb1cd36a063b (diff) | |
download | postgresql-9c02cf56614366769682bb8b3f4e9eecf8f237c4.tar.gz postgresql-9c02cf56614366769682bb8b3f4e9eecf8f237c4.zip |
Remove block number field from nbtree stack.
The initial value of the nbtree stack downlink block number field
recorded during an initial descent of the tree wasn't actually used.
Both _bt_getstackbuf() callers overwrote the value with their own value.
Remove the block number field from the stack struct, and add a child
block number argument to _bt_getstackbuf() in its place. This makes the
overall design of _bt_getstackbuf() clearer.
Author: Peter Geoghegan
Reviewed-By: Anastasia Lubennikova
Discussion: https://postgr.es/m/CAH2-Wzmx+UbXt2YNOUCZ-a04VdXU=S=OHuAuD7Z8uQq-PXTYUg@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions