-
Notifications
You must be signed in to change notification settings - Fork 854
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
Cannot connect to pgbouncer in 3.2.0 and later #512
Comments
I think this should be fixed on master now. |
Thanks, I can verify that it is working for me now. |
@jackc Apologies if this is documented somewhere, but do you have a date in mind for the next release? I'm trying to decide if I should wait for the next release or just pin to a commit sha on the next Telegraf release (scheduled for the end of May). |
Just tagged v3.4.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrading to v3.2.0 it is no longer possible to connect to pgbouncer, sql.Open returns:
Here is a link to the configuration and open calls:
https://github.com/influxdata/telegraf/blob/03776088f135b040d8af93db4ee09f8bba1a5de7/plugins/inputs/postgresql/service.go#L112-L136
Git bisect indicates that it is caused by d9f21d0 overwriting the
PreferSimpleProtocol
in thepgx.ConnConfig
.The text was updated successfully, but these errors were encountered: