Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to specify PostgreSQL tablespace when building schema #81

Closed
remi9898 opened this issue Nov 20, 2019 · 4 comments · Fixed by #95
Closed

Unable to specify PostgreSQL tablespace when building schema #81

remi9898 opened this issue Nov 20, 2019 · 4 comments · Fixed by #95

Comments

@remi9898
Copy link

Running HammerDB 3.3 on CentOS 7.7 kernel 3.10.0-1062.

The build schema options for PostgreSQL don't appear to allow specifying a tablespace. For Oracle, the build schema options has line to enter tablespace name. Not for PostgreSQL.

If I manually create the tpcc or tpch databases in my tablespace called hammerdb on /pgdata1/data, then HammerDB's build schema fails with error like "database tpch already exists".

For now the workaround is to move template1 to my desired tablespace so that when HammerDB issues the create database statement the new database will inherit template1's tablespace setting. Not best since I have to remember to change it back, and to change it each time I want to use a different tablespace.

Thanks.

@sm-shaw
Copy link
Contributor

sm-shaw commented Nov 22, 2019

This is a valid feature request and straightforward to add. Would you like to go ahead and try and add these changes yourself and submit a pull request to have them merged? This will be the quickest way for inclusion. If not it will be added to the list of feature requested and added when time permits.

@remi9898
Copy link
Author

remi9898 commented Nov 22, 2019 via email

@sm-shaw
Copy link
Contributor

sm-shaw commented Jan 28, 2020

Changes added in Pull Request : PostgreSQL prepared statements for functions and tablespace option for schema builds #95

@sm-shaw
Copy link
Contributor

sm-shaw commented Mar 3, 2020

Closed per pull request PostgreSQL prepared statements for functions and tablespace option for schema builds #95

@sm-shaw sm-shaw closed this as completed Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants