Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRiqW-000337-PL for pgsql-general@arkaria.postgresql.org; Thu, 03 Oct 2013 13:21:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VRiqV-0001M6-Le for pgsql-general@arkaria.postgresql.org; Thu, 03 Oct 2013 13:21:35 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRiqQ-0001Eu-OZ for pgsql-general@postgresql.org; Thu, 03 Oct 2013 13:21:30 +0000 Received: from 229.red-80-34-184.staticip.rima-tde.net ([80.34.184.229] helo=mailserver.incofisa.biz) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRiqK-0002HR-6x for pgsql-general@postgresql.org; Thu, 03 Oct 2013 13:21:30 +0000 Received: from localhost (localhost.incofisa.biz [127.0.0.1]) by mailserver.incofisa.biz (Postfix) with ESMTP id 719666D for ; Thu, 3 Oct 2013 15:21:22 +0200 (CEST) Received: from mailserver.incofisa.biz ([127.0.0.1]) by localhost (mailserver.incofisa.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 69497-08 for ; Thu, 3 Oct 2013 15:21:22 +0200 (CEST) Received: from www.grupoincofisa.com (unknown [192.168.1.113]) by mailserver.incofisa.biz (Postfix) with ESMTP id 31D0A3 for ; Thu, 3 Oct 2013 15:21:22 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 03 Oct 2013 15:21:18 +0200 From: =?UTF-8?Q?Sime=C3=B3_Reig?= To: Subject: pgbench Message-ID: X-Sender: simeo.reig@grupoincofisa.com User-Agent: Incofisa Webmail/0.8.6 X-Virus-Scanned: by amavisd-new at incofisa.biz X-Pg-Spam-Score: 0.8 (/) 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 Hello I was doing a performance test with pgbench with a pretty long queries and I have the next error: $ pgbench -n -c1 -T 3 -f veins_pgbench.sql pdn Client 0 aborted in state 0: ERROR: syntax error at end of input LINE 1: ...(abc.persones.provincia = abc.poblacions.cod_provinc ^ transaction type: Custom query scaling factor: 1 query mode: simple number of clients: 1 number of threads: 1 duration: 3 s number of transactions actually processed: 0 tps = 0.000000 (including connections establishing) tps = 0.000000 (excluding connections establishing) I believe pgbench has a very low limit with the queries you can put inside a file with the 't' option. Am I right? How can avoid it ? My best regards Simeó Reig Barcelona (Spain) -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general