Re: pgBench cannot use prepared statements and reconnections - Mailing list pgsql-bugs

From Josh Berkus
Subject Re: pgBench cannot use prepared statements and reconnections
Date
Msg-id 51FAA23D.40007@agliodbs.com
Whole thread Raw
In response to pgBench cannot use prepared statements and reconnections  (Josh Berkus <josh@agliodbs.com>)
List pgsql-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

pgsql-bugs by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: pgBench cannot use prepared statements and reconnections
Next
From: harshmailbox85@gmail.com
Date:
Subject: BUG #8350: unable to register pgAgent