pgsql: Simplify coding to detach constraints when detaching partition

2019-01-24 Thread Alvaro Herrera
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.1548305...@sss.pgh.pa.us Branch -- REL_11_STABLE Details --- https://git.p

pgsql: Simplify coding to detach constraints when detaching partition

2019-01-24 Thread Alvaro Herrera
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.1548305...@sss.pgh.pa.us Branch -- master Details --- https://git.postgres