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 comment detection #558

Merged
merged 1 commit into from
Feb 5, 2015
Merged

Fix comment detection #558

merged 1 commit into from
Feb 5, 2015

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Feb 4, 2015

On psql 8.1, pg_catalog.shobj_description does not exist. Also, if the
database to comment is not the current db then this warning will be
raised and the comment will not be applied: WARNING: database comments may only be applied to the current database

This fix uses the pg_* databases to find the comment based on the
database oid rather than the shared object description function.

On psql 8.1, `pg_catalog.shobj_description` does not exist. Also, if the
database to comment is not the current db then this warning will be
raised and the comment will not be applied: `WARNING:  database comments
may only be applied to the current database`

This fix uses the pg_* databases to find the comment based on the
database oid rather than the shared object description function.
cmurphy added a commit that referenced this pull request Feb 5, 2015
@cmurphy cmurphy merged commit 6d2b66c into puppetlabs:master Feb 5, 2015
cegeka-jenkins pushed a commit to cegeka/puppet-postgresql that referenced this pull request Oct 23, 2017
@Ramesh7 Ramesh7 added the bugfix label Jun 12, 2023
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.

3 participants