pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Giuseppe Broccolo <giuseppe.broccolo@2ndquadrant.it>
Cc: pgsql-general@postgresql.org
Subject: Re: pgbench
Date: Thu, 03 Oct 2013 18:55:28 +0200
Message-ID: <45219.1380819328@sss.pgh.pa.us> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

Alvaro Herrera <alvherre@2ndquadrant.com> 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



view thread (22+ messages)  latest in thread

Message-ID: <45219.1380819328@sss.pgh.pa.us>
Permalink:  ../45219.1380819328@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/45219.1380819328@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, giuseppe.broccolo@2ndquadrant.it
  Subject: Re: pgbench
  In-Reply-To: <45219.1380819328@sss.pgh.pa.us>
  References: <c7576ae69ced88ce09cb8c004145a460@mailserver.grupoincofisa.com> <524D7668.4050301@gmail.com> <57c75d91fcc3d9ccc3a928548b6d24a9@mailserver.grupoincofisa.com> <524D85ED.3020401@2ndquadrant.it> <20131003155055.GT5235@eldon.alvh.no-ip.org> <45219.1380819328@sss.pgh.pa.us>

* 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