diff options
author | Thomas Munro <tmunro@postgresql.org> | 2023-08-17 15:45:13 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2023-08-17 15:45:13 +1200 |
commit | 81e36d3e0df8d3d7a3daa2e2216f96df23ffc96a (patch) | |
tree | 18df3ee7f48cd21fcccd7057d98864a18a2f7e81 /src/backend/parser/parse_expr.c | |
parent | d3c25ca1bf59bc4ccf589942f94bc5b945b1f46f (diff) | |
download | postgresql-81e36d3e0df8d3d7a3daa2e2216f96df23ffc96a.tar.gz postgresql-81e36d3e0df8d3d7a3daa2e2216f96df23ffc96a.zip |
Invalidate smgr_targblock in smgrrelease().
In rare circumstances involving relfilenode reuse, it might have been
possible for smgr_targblock to finish up pointing past the end.
Oversight in b74e94dc. Back-patch to 15.
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/CA%2BhUKGJ8NTvqLHz6dqbQnt2c8XCki4r2QvXjBQcXpVwxTY_pvA%40mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions