pgsql: Fix use-after-release issue in PL/Sample

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix use-after-release issue in PL/Sample
Date: 2020-08-18 03:34:16
Message-ID: E1k7sO8-00051S-Iz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix use-after-release issue in PL/Sample

Introduced in adbe62d0. Per buildfarm member prion, when using
RELCACHE_FORCE_RELEASE.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/51300b45db95b6fd29f88534ab0739fdc9df1699

Modified Files
--------------
src/test/modules/plsample/plsample.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2020-08-18 04:30:21 pgsql: snapshot scalability: cache snapshots using a xact completion co
Previous Message Michael Paquier 2020-08-18 02:11:43 pgsql: Add PL/Sample to src/test/modules/