-
Notifications
You must be signed in to change notification settings - Fork 90
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
Postgresql_query and Postgresql_* modules do not provide option for target_session_attrs #69
Comments
@zmehu , hi, thanks for the feature idea, sounds very interesting though I'm not an expert. Do you like to implement this yourself? @tcraxs @andytom @Dorn- @popov83 @sebasmannem @kostiantyn-nemchenko what do you think? |
Is there any updates for that case ? Implementation already done maybe since creation of that case ? |
@SzymonMGR hello, thanks for reminding! If you'd like to add these options, please go ahead (but let us know before), |
Hi ! Maybe it's possible to try with gitlab team firstly ? |
I don't understand, could you elaborate a bit more? |
Sure - with pinging folks directly. "... otherwise I'll ping folks directly." ;) |
implemented in #329, Thanks everyone! |
SUMMARY
Postgresql_* modules use Python psycopg2 library and this library allow use when connection to cluster attribute target_session_attrs. When we set target_session_attrs="read-write" we will connect to master/write host. It's useful when we use PostgreSQL clusters.
ISSUE TYPE
COMPONENT NAME
postgresql_query, postgresql_user, postgresql_db
ADDITIONAL INFORMATION
This postgres modules are based on psycopg2 python module and this module support target_session_attrs and cluster connection. Current ansible modules require extension for supporting this attribute on connection part.
The text was updated successfully, but these errors were encountered: