]> granicus.if.org Git - postgresql/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:25:29 +0000 (11:25 -0300)
commit19184fcc09739abf75ccdada965ed6135c6d07c3
tree40be6ce34a7f7be7c23aa63855166f25ff8f1f94
parentfd1afdbafd4fbb0ce23a3f319adc177e4cf8fe99
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