aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_clause.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-08-17 23:15:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-08-17 23:15:33 +0000
commit19cd31b0682d32142edf7599b653d4eff7031a8c (patch)
tree110b97285c4075341a357a3d9974c38ef35eed8d /src/backend/parser/parse_clause.c
parentfcaad7e2c11b74c9bd30ad483b99d45a71e3f925 (diff)
downloadpostgresql-19cd31b0682d32142edf7599b653d4eff7031a8c.tar.gz
postgresql-19cd31b0682d32142edf7599b653d4eff7031a8c.zip
Fix bug introduced into _bt_getstackbuf() on 2003-Feb-21: the initial
value of 'start' could be past the end of the page, if the page was split by some concurrent inserting process since we visited it. In this situation the code could look at bogus entries and possibly find a match (since after all those entries still contain what they had before the split). This would lead to 'specified item offset is too large' followed by 'PANIC: failed to add item to the page', as reported by Joe Conway for scenarios involving heavy concurrent insertion activity.
Diffstat (limited to 'src/backend/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions