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:04 +1200 |
commit | 6337e994e89797d60b68ac6786c6a322ac00a382 (patch) | |
tree | f19a176a05b97e3810778c54c2fa9cc305a67221 /src/backend/access/gist/gist.c | |
parent | 11f4935490eb8597fcc0e3e71c2caf90e6154943 (diff) | |
download | postgresql-6337e994e89797d60b68ac6786c6a322ac00a382.tar.gz postgresql-6337e994e89797d60b68ac6786c6a322ac00a382.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/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions