diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-12-17 12:43:39 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-12-17 12:43:39 +0900 |
commit | e83e0988dc62026dbabad76b206bddea3d4f830e (patch) | |
tree | 74ceeb86f05735d2081808c7fa98d93e9f5f01f6 /src/backend/access/gist/gist.c | |
parent | 25b8094d33ac66773ba1418457cb74eb22b5d50a (diff) | |
download | postgresql-e83e0988dc62026dbabad76b206bddea3d4f830e.tar.gz postgresql-e83e0988dc62026dbabad76b206bddea3d4f830e.zip |
Fix use-after-free bug when renaming constraints
This is an oversight from recent commit b13fd344. While on it, tweak
the previous test with a better name for the renamed primary key.
Detected by buildfarm member prion which forces relation cache release
with -DRELCACHE_FORCE_RELEASE. Back-patch down to 9.4 as the previous
commit.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions