-
I am trying to do a TPC-C run with Postgres cluster and directing read queries to standby (HammerDB-4.4). But when running with
I have tried to run both with Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes, you need to set pg_storedprocs to false for both the schema build and the test. As described here https://www.hammerdb.com/docs/ch04s09.html prepared statements are not supported for the connect pool option as it uses prepared statements and these are not supported by PostgreSQL with stored procedures and therefore you have to both build and run with functions. |
Beta Was this translation helpful? Give feedback.
Yes, you need to set pg_storedprocs to false for both the schema build and the test. As described here https://www.hammerdb.com/docs/ch04s09.html prepared statements are not supported for the connect pool option as it uses prepared statements and these are not supported by PostgreSQL with stored procedures and therefore you have to both build and run with functions.
Also there is this issue #681 that has been fixed with the PostgreSQL connect pool implementation - so if you see this error add an additional close brace "}" as a workaround.