aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-01-14 21:57:15 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-01-14 21:57:15 -0500
commit1b794d3f3286036eec1d09d5cbea989162657331 (patch)
tree340be4d8881d43c6b6dc62703844516d0473d73d /src/backend/commands/functioncmds.c
parent3f4b1749a8168893558f70021be4f40c650bbada (diff)
downloadpostgresql-1b794d3f3286036eec1d09d5cbea989162657331.tar.gz
postgresql-1b794d3f3286036eec1d09d5cbea989162657331.zip
Fix hash_update_hash_key() to handle same-bucket case correctly.
Original coding would corrupt the hashtable if the item being updated was at the end of its bucket chain and the new hash key hashed to that same bucket. Diagnosis and fix by Heikki Linnakangas.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions