]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix use-after-release issue with pg_identify_object_as_address()
authorMichael Paquier <michael@paquier.xyz>
Wed, 28 Apr 2021 02:58:46 +0000 (11:58 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 28 Apr 2021 02:58:46 +0000 (11:58 +0900)
commit85a3e0be1e94b4e0e94d1480f43fe47ce7f68b62
tree7de26a85dc614aa6d6352ffd39f3ab56861a8ee8
parent7e76cb1d82bcc2d39a3d70930822c247d6a034d8
Fix use-after-release issue with pg_identify_object_as_address()

Spotted by buildfarm member prion, with -DRELCACHE_FORCE_RELEASE.

Introduced in f7aab36.

Discussion: https://postgr.es/m/2759018.1619577848@sss.pgh.pa.us
Backpatch-through: 9.6
src/backend/catalog/objectaddress.c