pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Cc: pgsql-bugs@postgresql.org
Cc: Greg Smith <greg@2ndQuadrant.com>
Subject: Re: pgBench cannot use prepared statements and reconnections
Date: Thu, 01 Aug 2013 11:00:29 -0700
Message-ID: <51FAA23D.40007@agliodbs.com> (raw)
In-Reply-To: <WM!895a75a9978bd588f1067973580eb6a7bab6031f7cd76abdb57a446b4369191d6ad3e4fc46c30dc02de01d661e2f884e!@asav-3.01.com>
References: <51F98AC4.1060208@agliodbs.com>
	<51F99906.7040708@catalyst.net.nz>
	<51F9999F.2030909@catalyst.net.nz>
	<WM!895a75a9978bd588f1067973580eb6a7bab6031f7cd76abdb57a446b4369191d6ad3e4fc46c30dc02de01d661e2f884e!@asav-3.01.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 07/31/2013 04:11 PM, Mark Kirkwood wrote:
> Hmmm, apologies - actually it didn't - I read right past the text
> 
> ERROR:  prepared statement "P0_7" does not exist
> 

Yah.  It's quite possible that the answer is to explicitly disallow this
-- the only reason I even tried it is that I was testing for a
PostgreSQL bug -- but we should fail gracefully, e.g. "Use of prepared
statements with pgbench requires persistent connections.  You may not
use the -C and -m prepared options together".

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)

Message-ID: <51FAA23D.40007@agliodbs.com>
Permalink:  ../51FAA23D.40007@agliodbs.com/
Also on:    postgresql.org/message-id/51FAA23D.40007@agliodbs.com

 · 

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-bugs@postgresql.org
  Cc: josh@agliodbs.com, mark.kirkwood@catalyst.net.nz, greg@2ndQuadrant.com
  Subject: Re: pgBench cannot use prepared statements and reconnections
  In-Reply-To: <51FAA23D.40007@agliodbs.com>
  References: <51F98AC4.1060208@agliodbs.com> <51F99906.7040708@catalyst.net.nz> <51F9999F.2030909@catalyst.net.nz> <WM!895a75a9978bd588f1067973580eb6a7bab6031f7cd76abdb57a446b4369191d6ad3e4fc46c30dc02de01d661e2f884e!@asav-3.01.com> <51FAA23D.40007@agliodbs.com>

* 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