From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Giuseppe Broccolo <giuseppe.broccolo@2ndquadrant.it>
Cc: pgsql-general@postgresql.org
Subject: Re: pgbench
Date: Thu, 3 Oct 2013 12:50:55 -0300
Message-ID: <20131003155055.GT5235@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <524D85ED.3020401@2ndquadrant.it>
References: <c7576ae69ced88ce09cb8c004145a460@mailserver.grupoincofisa.com>
<524D7668.4050301@gmail.com>
<57c75d91fcc3d9ccc3a928548b6d24a9@mailserver.grupoincofisa.com>
<524D85ED.3020401@2ndquadrant.it>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Giuseppe Broccolo wrote:
> The format of the script file has to be one SQL command per line;
> multiline SQL commands are not supported, and empty lines are
> ignored. This could bring to errors. Could this be your case?
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.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: alvherre@2ndquadrant.com, giuseppe.broccolo@2ndquadrant.it
Subject: Re: pgbench
In-Reply-To: <20131003155055.GT5235@eldon.alvh.no-ip.org>
References: <c7576ae69ced88ce09cb8c004145a460@mailserver.grupoincofisa.com> <524D7668.4050301@gmail.com> <57c75d91fcc3d9ccc3a928548b6d24a9@mailserver.grupoincofisa.com> <524D85ED.3020401@2ndquadrant.it> <20131003155055.GT5235@eldon.alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox