Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRmBq-0002sD-Pa for pgsql-general@arkaria.postgresql.org; Thu, 03 Oct 2013 16:55:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VRmBq-0004rC-7b for pgsql-general@arkaria.postgresql.org; Thu, 03 Oct 2013 16:55:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRmBo-0004pQ-AD for pgsql-general@postgresql.org; Thu, 03 Oct 2013 16:55:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRmBl-00038P-3X for pgsql-general@postgresql.org; Thu, 03 Oct 2013 16:55:48 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id r93GtSw5021429; Thu, 3 Oct 2013 12:55:28 -0400 From: Tom Lane To: Alvaro Herrera cc: Giuseppe Broccolo , pgsql-general@postgresql.org Subject: Re: pgbench In-reply-to: <20131003155055.GT5235@eldon.alvh.no-ip.org> References: <524D7668.4050301@gmail.com> <57c75d91fcc3d9ccc3a928548b6d24a9@mailserver.grupoincofisa.com> <524D85ED.3020401@2ndquadrant.it> <20131003155055.GT5235@eldon.alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Thu, 03 Oct 2013 12:50:55 -0300" Date: Thu, 03 Oct 2013 18:55:28 +0200 Message-ID: <45219.1380819328@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org Alvaro Herrera writes: > Multiline SQL commands are not supported? Well that sucks, because only > BUFSIZ chars are read from each line. In my platform that's 8192, but > maybe in Simeó's case it's shorter .. or maybe his query really is > longer than 8192 bytes. > This smells like a pgbench bug to me. Yeah, I ran into that line-length limit in pgbench a couple months ago. We really oughta remove the restriction; seems like that shouldn't be hard. I'm less enthused about introducing a multiline-command feature; that'd require inventing some escape syntax that's not there now, and making it 100% backwards compatible might be hard. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general