aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-01-18 17:04:11 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-01-18 17:04:11 -0500
commit75df6dc083f7a989697b5002a421fb204f2eeddb (patch)
tree90c304618b3eb5590e5c27adc2a09058dca69e6c /src/backend/access/gist
parent4c34dcf97f70fa5c3d5fbf70caff12032a27a7dd (diff)
downloadpostgresql-75df6dc083f7a989697b5002a421fb204f2eeddb.tar.gz
postgresql-75df6dc083f7a989697b5002a421fb204f2eeddb.zip
Fix ancient thinko in default table rowcount estimation.
The code used sizeof(ItemPointerData) where sizeof(ItemIdData) is correct, since we're trying to account for a tuple's line pointer. Spotted by Tomonari Katsumata (bug #12584). Although this mistake is of very long standing, no back-patch, since it's a relatively harmless error and changing it would risk changing default planner behavior in stable branches. (I don't see any change in regression test outputs here, but the buildfarm may think differently.)
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions