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

(maint) fixes for grant_spec #826

Merged
merged 1 commit into from
Dec 9, 2016
Merged

(maint) fixes for grant_spec #826

merged 1 commit into from
Dec 9, 2016

Conversation

eputnam
Copy link
Contributor

@eputnam eputnam commented Dec 9, 2016

The "sequence" functionality tested in this spec file is not available in postgresql < 9.0 which is installed on redhat 6 (part of Jenkins smoke tests) and its contemporaries: http://stackoverflow.com/questions/7386321/grant-select-privilege-to-all-sequences-using-one-statement

Further, the some of the validation functions (like has_sequence_privilege()) used are also not available:
https://www.postgresql.org/docs/8.4/static/functions-info.html#FUNCTIONS-INFO-ACCESS-TABLE
https://www.postgresql.org/docs/9.0/static/functions-info.html#FUNCTIONS-INFO-ACCESS-TABLE

I added a small install manifest, so that the version can be checked before the test is run.

@hunner hunner merged commit 27facf3 into puppetlabs:master Dec 9, 2016
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.

None yet

3 participants