Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvGRr-0008Pk-Lo for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Apr 2017 04:52:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cvGRr-0008RZ-7H for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Apr 2017 04:52:07 +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_2) (envelope-from ) id 1cvGRq-0008RP-LS for pgsql-hackers@postgresql.org; Tue, 04 Apr 2017 04:52:06 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cvGRo-0001gV-D2 for pgsql-hackers@postgresql.org; Tue, 04 Apr 2017 04:52:06 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id CE07C208B8; Tue, 4 Apr 2017 00:52:02 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 04 Apr 2017 00:52:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=AnNV3yd1HafPjanS7O Rawzo2JBd8LEQkUqhXql8/1uo=; b=JEboQ8a97Zm+sIjl8XC5Hn4pxzGaORD4Ja ke+L4JJLodwrw5gAX7CBkTbFKzAqFcT5FCdnoA4r8jQJehbN7L1hvFvI/B/v6ax/ n2IxqjCxSdPohvK+ciGwWPxMcVYsE/Tb2jK1a3GOmwvsATJ+Ev/uMV/oJUo4j0GF YpIKpMLn85CH1XjObw1LxARxl78wQxDxQSouRazQZ4Jnchr5PsNMwTGuuxbu1Yas bsfowfGnAIQAA+mfLNATfGue+fYGKMh8d+hZRrComPUuoV0zkfd+Qdkqxu2b4h2G VqqUAO93f7Musqqy0r/XVzjo0v8jEC2BR4mFeLDTdw5+UJptwEHQ== X-ME-Sender: X-Sasl-enc: DRPgXXQB5ZKtezjuKIvf1YJDnp65W7DoCUIgx+xPEq6G 1491281522 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 8BEDD7E350; Tue, 4 Apr 2017 00:52:02 -0400 (EDT) Date: Mon, 3 Apr 2017 21:52:01 -0700 From: Andres Freund To: Michael Paquier Cc: Vaishnavi Prabakaran , David Steele , Craig Ringer , Daniel Verite , "Prabakaran, Vaishnavi" , Haribabu Kommi , "Tsunakawa, Takayuki" , Dmitry Igrishin , PostgreSQL Hackers , Manuel Kniep , "fujita.etsuro@lab.ntt.co.jp" , "Iwata, Aya" Subject: Re: PATCH: Batch/pipelining support for libpq Message-ID: <20170404045201.eja742vmfu45bf5d@alap3.anarazel.de> References: <3200d6d3-a82a-4778-b021-475b3adbe4dc@manitou-mail.org> <41685247-0a06-1fbb-d731-1b2b6bd8df8e@pgmasters.net> <20170403210501.6nbmlkg6g3ch7lew@alap3.anarazel.de> <20170403232613.dcd4rzbhad2nkh2p@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On 2017-04-04 08:57:33 +0900, Michael Paquier wrote: > On Tue, Apr 4, 2017 at 8:26 AM, Andres Freund wrote: > > On 2017-04-04 09:24:23 +1000, Vaishnavi Prabakaran wrote: > >> Just quickly, Is it not ok to consider only the code patch for this CF > >> without test patch? > > > > I'd say no, it's not acceptable. This is too much new code for it not > > to be tested. > > Doesn't it depend actually? Well, I didn't make a general statement, I made one about this patch. And this would add a significant bunch of untested code, and it'll likely take years till it gets decent coverage outside. > In the case of this patch, it seems to me that we would have a far > better portable set of tests if we had a dedicated set of subcommands > available at psql level, particularly for Windows/MSVC. That's a really large scope creep imo. Adding a bunch of user-facing psql stuff doesn't compare in complexity to running a test across platforms. We can just do that from regess.c or such, if that ends up being a problem.. > If that's a requirement for this patch so let it be. I am not saying that tests > are not necessary. They are of course, but in this case having a bit > more infrastructure would be more be more helpful for users and the > tests themselves. I'm not following. Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers