8000 HammerDB TPROC-C Schema Build script for Azure Database for PostgreSQL flexible server · TPC-Council HammerDB · Discussion #784 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 /div>

HammerDB TPROC-C Schema Build script for Azure Database for PostgreSQL flexible server #784

Answered by eugenep-git
eugenep-git asked this question in Q&A
Discussion options

You must be logged in to vote

Found workaround:
As shown in https://medium.com/@dmitry.romanoff/postgresql-version-15-error-permission-denied-for-schema-public-dc8285c41e00
from Postgres version 15 it is now necessary to grant permissions on SCHEMA public to a user explicitly.
So after you run the Build script (as psql_admin) 1st time it will create both tpcc db and tpcc user (and tpcc user will be owner of tpcc db)
but fail with:
"Error in Virtual User 1: Error: ERROR: permission denied for schema public
LINE 1: CREATE TABLE CUSTOMER (C_SINCE TIMESTAMP WITH TIME ZONE NOT ..."
then you need to connect to tpcc db and run:
tpcc=> GRANT ALL on SCHEMA public to tpcc;
then re-run the Build script which now completes succes…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sm-shaw
Comment options

Answer selected by eugenep-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0