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:54:31 +1200 |
commit | d23e60e6673ab946b769d727c62fc65e146f17f3 (patch) | |
tree | ad00786ad02802dae486fb2bc644ac584289d6d6 /src/include/postgres_ext.h | |
parent | 1bc19dfcfea71e7ed03eff9d72072579bd678b4c (diff) | |
download | postgresql-d23e60e6673ab946b769d727c62fc65e146f17f3.tar.gz postgresql-d23e60e6673ab946b769d727c62fc65e146f17f3.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/include/postgres_ext.h')
0 files changed, 0 insertions, 0 deletions