aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeBitmapOr.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-09-15 17:01:26 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-09-15 17:01:26 -0400
commit53630f12d39b9c5d98abb7bae4818715306422ed (patch)
tree766ccb38c736f4dc2a7093800ad7fdb5c645b210 /src/backend/executor/nodeBitmapOr.c
parent3f94dfc00870129051ed507461ba1c8a693e60b3 (diff)
downloadpostgresql-53630f12d39b9c5d98abb7bae4818715306422ed.tar.gz
postgresql-53630f12d39b9c5d98abb7bae4818715306422ed.zip
Track nesting depth correctly when drilling down into RECORD Vars.
expandRecordVariable() failed to adjust the parse nesting structure correctly when recursing to inspect an outer-level Var. This could result in assertion failures or core dumps in corner cases. Likewise, get_name_for_var_field() failed to adjust the deparse namespace stack correctly when recursing to inspect an outer-level Var. In this case the likely result was a "bogus varno" error while deparsing a view. Per bug #18077 from Jingzhou Fu. Back-patch to all supported branches. Richard Guo, with some adjustments by me Discussion: https://postgr.es/m/18077-b9db97c6e0ab45d8@postgresql.org
Diffstat (limited to 'src/backend/executor/nodeBitmapOr.c')
0 files changed, 0 insertions, 0 deletions