Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cS8CD-0002EQ-SN for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Jan 2017 20:11:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cS8CC-0004Dq-Pm for pgsql-hackers@arkaria.postgresql.org; Fri, 13 Jan 2017 20:11:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cS8Am-0002b4-VC for pgsql-hackers@postgresql.org; Fri, 13 Jan 2017 20:10:05 +0000 Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cS8Aj-0007BX-Nh for pgsql-hackers@postgresql.org; Fri, 13 Jan 2017 20:10:03 +0000 Received: by mail-qk0-x22b.google.com with SMTP id u25so65459669qki.2 for ; Fri, 13 Jan 2017 12:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=a72rwwSLp+3nH+9K5s7BofkJVTVfAbV1X36kdPMJ/v0=; b=abO9gFD0ziTnmCVC+3o45FEF91h230ATzEdv3M4ooyoX3tMT8Z+LvcGaO5IcNBhAyw zKtqr9HYgjPLvFHvas5vHJ4hoqZ/Rdkc9Vn4WN/6fWzDf+S9LKxj4iXLh9hGEovb09z6 IqyJShhPawwCykB2gh3mXl3Wz3/ZUzvoQGC5m+g6g/TYIoaY0Oa7EeTHVtMZUba7Ebg1 EVxr7xPvS7ciNMKfJRgRmzDCGkqLndPDI/xvs+dhi7tVcRhXzuooX6ndL1IK79ozayfk o5I9gpWHncRwgId84J5Cf7SMVFrlFCX89TE3wU+7SEcT09bB+1FERT/rqGtK9CeM/wb5 o7Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=a72rwwSLp+3nH+9K5s7BofkJVTVfAbV1X36kdPMJ/v0=; b=pFHRFo3KYpQ+/re9SsXbbtBdfVNmwdlkNQzJk7D38EzL9Yr/OQuqH1NcP8cJDcZta1 bqG/tkqICcUYayUNpp6iiQNUMaQdCTyXDt7swuQhhpqgz8dmuhtHeflv8Ei9eWu4JM3E o/oN5PsyGBUp7rpWtV+1rGAbpgWvDI33+vkVIDAK5/rpeTq0qcOPo746MW5CePjd40L8 6O7VvxAm1Sh6usqU2oamfTd2PAN2B4N0/SdTixzaE2LlVrxW6koD78JnJOXUEjQg/Nqx 6EVeLeZZ0c01FcLBduuQtQZGBYcoPh9oxmZkZZXt0i9621HzfPG30W84kxFvtqSWHLpA 9ibQ== X-Gm-Message-State: AIkVDXI8Ks0pkJXfrc6P3GqC2kDNfhoO5732tqcBvBhS3imOTYb6ao/LqVJb/AreZmAyFSmU X-Received: by 10.55.148.199 with SMTP id w190mr22032935qkd.9.1484338200168; Fri, 13 Jan 2017 12:10:00 -0800 (PST) Received: from alvin.alvh.no-ip.org ([179.57.112.237]) by smtp.gmail.com with ESMTPSA id d189sm9927273qka.32.2017.01.13.12.09.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 12:09:59 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 7343ED46; Fri, 13 Jan 2017 17:09:57 -0300 (CLST) Date: Fri, 13 Jan 2017 17:09:57 -0300 From: Alvaro Herrera To: Robert Haas Cc: "pgsql-hackers@postgresql.org" , Amit Langote Subject: Re: [COMMITTERS] pgsql: Fix a bug in how we generate partition constraints. Message-ID: <20170113200957.7rdnmtiuatxd3ix6@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20161104 (1.7.1) X-Pg-Spam-Score: -2.6 (--) 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 Robert Haas wrote: > On Fri, Jan 13, 2017 at 2:31 PM, Robert Haas wrote: > > On Fri, Jan 13, 2017 at 2:18 PM, Alvaro Herrera > > wrote: > >> Hmm, we were discussing this stuff a few days ago, see > >> https://www.postgresql.org/message-id/20170109182800.qrkae62kmur3gfeg@alvherre.pgsql > >> and commit 3957b58b8885441c8d03bc1cfc00e47cf8cd7975. Part of this code > >> duplicates that ... > > > > Is that bad? > > If you are expressing a concern about who wrote this code, I took > Amit's word for it that he did. I'm just saying that the problem at hand is already solved for a related feature, so ISTM this new code should use the recently added routine rather than doing the same thing in a different way. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers