pgsql: Fix use-after-release issue with pg_identify_object_as_address() - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix use-after-release issue with pg_identify_object_as_address()
Date
Msg-id E1lbaQf-00026w-Sj@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f93f0b5b25068807051edb2f3510614b69bb79ff

Modified Files
--------------
src/backend/catalog/objectaddress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Fix pg_identify_object_as_address() with event triggers
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Implement streaming mode in ReorderBuffer.