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

Fix: When assigning a tablespace to a database, no equal sign is needed in the query #1098

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

biertie
Copy link

@biertie biertie commented Aug 2, 2019

According to the documentation* no equal sign is needed when creating or altering a database. It is working during the database creation; but it fails during an alter statement. Therefore I propose to remove the equal sign both during the creation of the database and when altering.

https://www.postgresql.org/docs/11/sql-alterdatabase.html
https://www.postgresql.org/docs/9.6/sql-alterdatabase.html
https://www.postgresql.org/docs/11/sql-createdatabase.html
https://www.postgresql.org/docs/9.6/sql-createdatabase.html

@biertie
Copy link
Author

biertie commented Aug 9, 2019

Hey,

Does anyone want to merge this, or has comments on this patch?

Bert

@sheenaajay
Copy link
Contributor

Thanks for submitting the PR @biertie .

@sheenaajay sheenaajay merged commit 41cf6ad into puppetlabs:master Aug 12, 2019
@biertie biertie deleted the fix/tablespace branch August 12, 2019 19:02
cegeka-jenkins pushed a commit to cegeka/puppet-postgresql that referenced this pull request Feb 3, 2022
Fix: When assigning a tablespace to a database, no equal sign is needed in the query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants