Skip to content

Conversation

@juniorsysadmin
Copy link
Contributor

This commit adds a comment parameter to postgresql::server::db so that one can add a database description using PostgreSQL's COMMENT command.

Refer to the following links for documentation on the queries used:
http://www.postgresql.org/docs/8.1/static/sql-comment.html
http://stackoverflow.com/questions/11493978/how-to-retrieve-the-comment-of-a-postgresql-database
http://www.postgresql.org/docs/current/interactive/functions-info.html#FUNCTIONS-INFO-COMMENT-TABLE

@igalic
Copy link
Contributor

igalic commented Jan 27, 2015

👍


ping @cmurphy this looks trivial enough to be merged

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the indentation here?

@juniorsysadmin
Copy link
Contributor Author

The comment indentation has been fixed.

cmurphy added a commit that referenced this pull request Feb 4, 2015
(MODULES-1153) Add database comment parameter
@cmurphy cmurphy merged commit 7a5a298 into puppetlabs:master Feb 4, 2015
@juniorsysadmin juniorsysadmin deleted the database-comment branch February 4, 2015 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants