Re: pgbench

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Giuseppe Broccolo <giuseppe(dot)broccolo(at)2ndquadrant(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pgbench
Date: 2013-10-03 15:50:55
Message-ID: 20131003155055.GT5235@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

  • Re: pgbench at 2013-10-03 14:57:49 from Giuseppe Broccolo

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2013-10-03 16:55:28 Re: pgbench
Previous Message Adrian Klaver 2013-10-03 15:00:07 Re: pgbench