Fix use-after-release issue with pg_identify_object_as_address()

Michael Paquier <michael@paquier.xyz>

Commit: a928297bc6f135f299ded2888283e73a35f4ade8
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-04-28T02:58:43Z
Releases: 13.3
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

Files

PathChange+/−
src/backend/catalog/objectaddress.c modified +1 −1

Discussion

Cited messages not in the archive: 2759018.1619577848@sss.pgh.pa.us