Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZEvqo-0007qX-Oo for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jul 2015 08:46:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZEvqo-0001vC-BE for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jul 2015 08:46:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZEvqn-0001uI-AH; Tue, 14 Jul 2015 08:46:05 +0000 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZEvqk-0005kF-JT; Tue, 14 Jul 2015 08:46:04 +0000 Received: by wgxm20 with SMTP id m20so2876651wgx.3; Tue, 14 Jul 2015 01:45:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=yfZoeiFv0N2wyrrCUHJTTS4v8zHUgeplq+AUdSZfY9A=; b=qxbhIdNk8qMfH6GqZJKbloja5buWqIKtJxjqeCve+6WKtPT/mIMRDAmdJO3/Mnpzg+ 4g7dyjZTgbOlmhQ0d5+yn3u4Vsgl7k56KOPWF+xPEg3GKFWGbLzoEhGWSRlpw98di2Dh fvaWBbGbDkVrFG2o0/dI2hFtFlQ//IpJ9SC4ZZ8NPj6Xrho9tPTLfwBbLPOjOnM1amcb sgDAfD60Omt0eRy3bRikNoTFZyZaHVQYTHmYEgjFAUt8YwD73DRNfqUJUTtae5vTP6sH zDcce9iKxhRVXi1pC6mG5NPBasAIPbMJ6/6h9BpVwVG8BUOhNqT9BYgSGTCXjMA1pO61 SN7g== X-Received: by 10.195.11.168 with SMTP id ej8mr75850855wjd.150.1436863559671; Tue, 14 Jul 2015 01:45:59 -0700 (PDT) Received: from [192.168.43.229] (mobile-access-bceefa-142.dhcp.inet.fi. [188.238.250.142]) by smtp.gmail.com with ESMTPSA id jz4sm680104wjb.16.2015.07.14.01.45.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2015 01:45:58 -0700 (PDT) Message-ID: <55A4CC2F.8080401@iki.fi> Date: Tue, 14 Jul 2015 11:45:35 +0300 From: Heikki Linnakangas Reply-To: hlinnaka@iki.fi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Michael Paquier CC: Petr Jelinek , Tom Lane , xi@resolvent.net, PostgreSQL mailing lists , PostgreSQL-development Subject: Re: [BUGS] BUG #13126: table constraint loses its comment References: <20150422154850.5198.26685@wrigleys.postgresql.org> <8519.1429995948@sss.pgh.pa.us> <559547A2.2000204@2ndquadrant.com> <5596A36D.4030008@2ndquadrant.com> <559B9ACC.2060103@2ndquadrant.com> <55A3EA70.6030102@iki.fi> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 07/14/2015 10:29 AM, Michael Paquier wrote: > On Tue, Jul 14, 2015 at 1:42 AM, Heikki Linnakangas wrote: >> I plan to commit the attached patches later today or tomorrow. But how do >> you feel about back-patching this? It should be possible to backpatch, >> although at a quick test it seems that there have been small changes to the >> affected code in many versions, so it would require some work. Also, in >> back-branches we'd need to put the new AT_ReAddComment type to the end of >> the list, like we've done when we added AT_ReAddConstraint in 9.3. I'm >> inclined to backpatch this to 9.5 only, even though this is clearly a bug >> fix, on the grounds that it's not a very serious bug and there's always some >> risk in backpatching. > > Well, while it's clearly a bug I don't think that it is worth the risk > to destabilize back branches older than 9.5 in this code path. So +1 > for doing it the way you are suggesting. We could still revisit that > later on if there are more complaints, but I doubt there will be much. Ok, committed to master and 9.5. Thanks! - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers