]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Simplify coding to detach constraints when detaching partition
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 24 Jan 2019 14:18:35 +0000 (11:18 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 24 Jan 2019 14:18:35 +0000 (11:18 -0300)
commit71eba83999f3702ee9b909ad2df5cae7ebb58882
tree0c6430d33cd04da523f587a1a55af282c69bf271
parentb620cf2d47625280e631127ae7202e798257647d
Simplify coding to detach constraints when detaching partition

The original coding was too baroque and led to an use-after-release
mistake, noticed by buildfarm member prion.

Discussion: https://postgr.es/m/21693.1548305934@sss.pgh.pa.us
src/backend/commands/tablecmds.c