pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix use-after-free bug when renaming constraints 6+ messages / 1 participants [nested] [flat]
* pgsql: Fix use-after-free bug when renaming constraints @ 2018-12-17 03:45 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2018-12-17 03:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/67915fb8e51692ae92622696ad03e933be224bf2 Modified Files -------------- src/backend/commands/tablecmds.c | 4 ++-- src/test/regress/expected/alter_table.out | 2 +- src/test/regress/sql/alter_table.sql | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix use-after-free bug when renaming constraints @ 2018-12-17 03:45 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2018-12-17 03:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e83e0988dc62026dbabad76b206bddea3d4f830e Modified Files -------------- src/backend/commands/tablecmds.c | 4 ++-- src/test/regress/expected/alter_table.out | 2 +- src/test/regress/sql/alter_table.sql | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix use-after-free bug when renaming constraints @ 2018-12-17 03:45 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2018-12-17 03:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/91fc2a08830139d9c11b189a2407cfdf113f550f Modified Files -------------- src/backend/commands/tablecmds.c | 4 ++-- src/test/regress/expected/alter_table.out | 2 +- src/test/regress/sql/alter_table.sql | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix use-after-free bug when renaming constraints @ 2018-12-17 03:45 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2018-12-17 03:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/419bd6371d557f5aa687e56ebe04e4946db0b8a4 Modified Files -------------- src/backend/commands/tablecmds.c | 4 ++-- src/test/regress/expected/alter_table.out | 2 +- src/test/regress/sql/alter_table.sql | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix use-after-free bug when renaming constraints @ 2018-12-17 03:45 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2018-12-17 03:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c7567e09d5d1e6357b95ad16f2bc4dd6affa07f3 Modified Files -------------- src/backend/commands/tablecmds.c | 4 ++-- src/test/regress/expected/alter_table.out | 2 +- src/test/regress/sql/alter_table.sql | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix use-after-free bug when renaming constraints @ 2018-12-17 03:45 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2018-12-17 03:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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. Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/696c68c2be44d478403be5c76e6e8160fabdb083 Modified Files -------------- src/backend/commands/tablecmds.c | 4 ++-- src/test/regress/expected/alter_table.out | 2 +- src/test/regress/sql/alter_table.sql | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2018-12-17 03:45 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-12-17 03:45 pgsql: Fix use-after-free bug when renaming constraints Michael Paquier <michael@paquier.xyz> 2018-12-17 03:45 pgsql: Fix use-after-free bug when renaming constraints Michael Paquier <michael@paquier.xyz> 2018-12-17 03:45 pgsql: Fix use-after-free bug when renaming constraints Michael Paquier <michael@paquier.xyz> 2018-12-17 03:45 pgsql: Fix use-after-free bug when renaming constraints Michael Paquier <michael@paquier.xyz> 2018-12-17 03:45 pgsql: Fix use-after-free bug when renaming constraints Michael Paquier <michael@paquier.xyz> 2018-12-17 03:45 pgsql: Fix use-after-free bug when renaming constraints Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox