Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmfyl-0005Z1-EW for pgsql-committers@arkaria.postgresql.org; Thu, 24 Jan 2019 14:27:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gmfyj-0007M7-FA for pgsql-committers@arkaria.postgresql.org; Thu, 24 Jan 2019 14:27:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmfyj-00079l-4k for pgsql-committers@lists.postgresql.org; Thu, 24 Jan 2019 14:27:37 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmfyg-0005P1-8Z for pgsql-committers@lists.postgresql.org; Thu, 24 Jan 2019 14:27:35 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gmfyf-0003RZ-EQ for pgsql-committers@lists.postgresql.org; Thu, 24 Jan 2019 14:27:33 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.89) (envelope-from ) id 1gmfye-0003is-LK for pgsql-committers@lists.postgresql.org; Thu, 24 Jan 2019 14:27:32 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@lists.postgresql.org From: Alvaro Herrera Subject: pgsql: Simplify coding to detach constraints when detaching partition Message-Id: Date: Thu, 24 Jan 2019 14:27:32 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk U2ltcGxpZnkgY29kaW5nIHRvIGRldGFjaCBjb25zdHJhaW50cyB3aGVuIGRldGFjaGluZyBwYXJ0 aXRpb24KClRoZSBvcmlnaW5hbCBjb2Rpbmcgd2FzIHRvbyBiYXJvcXVlIGFuZCBsZWQgdG8gYW4g dXNlLWFmdGVyLXJlbGVhc2UKbWlzdGFrZSwgbm90aWNlZCBieSBidWlsZGZhcm0gbWVtYmVyIHBy aW9uLgoKRGlzY3Vzc2lvbjogaHR0cHM6Ly9wb3N0Z3IuZXMvbS8yMTY5My4xNTQ4MzA1OTM0QHNz cy5wZ2gucGEudXMKCkJyYW5jaAotLS0tLS0KbWFzdGVyCgpEZXRhaWxzCi0tLS0tLS0KaHR0cHM6 Ly9naXQucG9zdGdyZXNxbC5vcmcvcGcvY29tbWl0ZGlmZi8xOTE4NGZjYzA5NzM5YWJmNzVjY2Rh ZGE5NjVlZDYxMzVjNmQwN2MzCgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmFj a2VuZC9jb21tYW5kcy90YWJsZWNtZHMuYyB8IDE4ICsrKystLS0tLS0tLS0tLS0tLQoxIGZpbGUg Y2hhbmdlZCwgNCBpbnNlcnRpb25zKCspLCAxNCBkZWxldGlvbnMoLSkKCg==