Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZpgW3-0001p9-R0 for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Oct 2015 17:52:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZpgW2-0003qh-TB for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Oct 2015 17:52:34 +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 1ZpgUj-0002O8-J3 for pgsql-hackers@postgresql.org; Fri, 23 Oct 2015 17:51:13 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZpgUe-0000qL-K8 for pgsql-hackers@postgresql.org; Fri, 23 Oct 2015 17:51:12 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.104.52.149]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id A6F6B401085; Fri, 23 Oct 2015 10:51:01 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 8B2ABD19; Fri, 23 Oct 2015 14:50:58 -0300 (CLT) Date: Fri, 23 Oct 2015 14:50:58 -0300 From: Alvaro Herrera To: Jeff Janes Cc: Thomas Munro , Tom Lane , Pg Hackers Subject: Re: Making tab-complete.c easier to maintain Message-ID: <20151023175058.GA3391@alvherre.pgsql> References: <17081.1441374043@sss.pgh.pa.us> <20150907135605.GP2912@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: Mutt/1.5.23 (2014-03-12) 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 Jeff Janes wrote: > For the bigger picture, I don't think we should not apply this patch simply > because there is something even better we might theoretically do at some > point in the future. Agreed. > Having used it a little bit, I do agree with Robert > that it is not a gigantic improvement over the current situation, as the > code it replaces is largely mechanical boilerplate. But I think it is > enough of an improvement that we should go ahead with it. To me this patch sounds much like 2eafcf68d563df8a1db80a. You could say that what was replaced was "largely mechanical", but it was so much easier to make mistakes with the original coding that it's not funny. -- Álvaro Herrera http://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