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 #559

Merged
merged 1 commit into from Feb 6, 2015
Merged

Conversation

hunner
Copy link
Contributor

@hunner hunner commented Feb 5, 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.
underscorgan pushed a commit that referenced this pull request Feb 6, 2015
@underscorgan underscorgan merged commit fdc8180 into puppetlabs:master Feb 6, 2015
@hunner hunner deleted the fix_dbcomment branch February 6, 2015 16:21
@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.

None yet

3 participants