From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify coding to detach constraints when detaching partition
Date: Thu, 24 Jan 2019 14:27:32 +0000
Message-ID: <E1gmfye-0003is-LK@gemulon.postgresql.org> (raw)
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/19184fcc09739abf75ccdada965ed6135c6d07c3
Modified Files
--------------
src/backend/commands/tablecmds.c | 18 ++++--------------
1 file changed, 4 insertions(+), 14 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@alvh.no-ip.org
Subject: Re: pgsql: Simplify coding to detach constraints when detaching partition
In-Reply-To: <E1gmfye-0003is-LK@gemulon.postgresql.org>
References: <E1gmfye-0003is-LK@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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