Skip to content

Conversation

teajaymars
Copy link

...k to the console on every puppet apply.

@kbarber-jenkins2
Copy link

Can one of the admins verify this patch?

@teajaymars
Copy link
Author

Before the fix, this was running a no-op SQL query every time (because $replication was not set) and writing that query to stdout. Messy. That's definitely a bug and this solution is a best-guess, making it consistent with the other code.
It is suspicious though that this value was missing. It looks like it was deliberately removed for some other reason.

@brandonwamboldt
Copy link
Contributor

This is broken on Postgres versions under 9.1

@brandonwamboldt
Copy link
Contributor

As per my other comment, the default value is used in a query to create users, and the NOREPLICATION option isn't available in versions under 9.1, which cause errors.

@teajaymars
Copy link
Author

Use Brandon's.

@teajaymars teajaymars closed this Dec 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants