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