-
Notifications
You must be signed in to change notification settings - Fork 583
Add compatibility for PostgreSQL 9.6 #212
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
Add compatibility for PostgreSQL 9.6 #212
Conversation
…implement_postgresql_9_6
|
Hi @arturmartins, regarding your comment on #204: Wouldn't this default to synchronous mode being enforced on all standbys? By default, I believe this should be an empty string (or list, in this case) per the PostgreSQL default:
I may have added another commit after your first comment which addressed the issue with the defaults in a different manor: defaults/main.yml templates/postgresql.conf-9.6.j2 The default would now be: Which would match the PostgreSQL default. This will also have no impact on the defaults which are set for prior versions of PostgreSQL that use synchronous_standby_names. |
sebalix
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thanks for the work
|
any chance getting this nice upgrade PR merged to master soon ? @otakup0pe ? |
|
Indeed, the 9.6 release will be heavily asked/required by people soon. Minor fixes could be applied after the PR is merged. |
|
@otakup0pe any chance of seeing this land soon? would love to roll this out at work without working from a fork. |
|
I have been running PostgreSQL 9.6 with this for a few weeks and have yet to encounter any issues. If anyone discovers any changes to be made please let me know and I will update the PR. |
|
@MichaelConrad thanks for your feedback on this, will try it out very soon. I wonder if you used a playbook to handle the upgrade? (or maybe it wasn't an upgrade in your case). |
|
nice to hear @MichaelConrad ! I hope after 1-2 more positive feedbacks here, we can get @otakup0pe to merge this finally (requiring less custom branches etc) |
|
Actually, it works nicely for me (tested with the 3 tags @MichaelConrad After I compared the diffs (
not really changing the logic though 👍
|
|
Works fine for me. Any idea when this will be merged with the master? |
|
I am actually getting error while copying the |
|
yes plz get it merged (maybe if some more people review it) @vividvilla btw what ansible version? |
|
Actually So to use it version you need to have in your - src: https://github.com/MichaelConrad/postgresql
version: implement_postgresql_9_6
name: ANXS.postgresqland then execute: ansible-galaxy remove ANXS.postgresql
ansible-galaxy install -r requirements.ymlI'm using this branch too and it works fine for me. |
Yeah! (I guess we are thousands of ansible users shaking their head on that) |
|
when this will be merged ? |
|
@lhoss, I went ahead and implemented the changes you recommended for the postgresql_wal_log_hints and postgresql_ssl_prefer_server_ciphers variables. Please let me know if you find anything else and I will make changes as necessary. Thanks again for your detailed analysis! |
|
LGTM now, thx @MichaelConrad 👍 |
|
@MichaelConrad thanks for your awesome work, Any idea when this will be merged with the master? |
|
ping @pjan @farridav @jesselang @sebalix |
|
This is amazing work! I don't have time to personally validate this, but there seems to be a ton of interest so.... It seems like others have tested this and it works, so unless someone tells me otherwise I'm going to merge it. As well.... We are looking for people to help maintain some Ansible roles! A few people who are interested in helping with the backlog of this particular role would be very much appreciated... |
|
@otakup0pe, I would be very much willing to help contribute / maintain this role (and potentially others) in any capacity. Please let me know how I can help. |
|
I'ld also be willing but I am sure others qualified (like this PR's owner Michael) are better suited (+have more capacity) as I'm already quite busy contributing to https://github.com/AnsibleShipyard roles (mainly zookeeper, mesos, marathon) 👍 |
|
@MichaelConrad if you can email me, we can get you setup as a maintainer :) |
Replaces #204