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

Mixed SQL construction causes PgPool dbtype monitoring failure #498

Closed
palmalcheg opened this issue Jun 23, 2022 · 3 comments
Closed

Mixed SQL construction causes PgPool dbtype monitoring failure #498

palmalcheg opened this issue Jun 23, 2022 · 3 comments

Comments

@palmalcheg
Copy link
Contributor

palmalcheg commented Jun 23, 2022

Testing :


postgres@postgres-db-pg-cluster-0:~$ psql -h postgres-db-pg-cluster-pgpool.pf -c "SET lock_timeout TO '100ms';SHOW POOL_VERSION"
Password for user postgres:
ERROR: unrecognized configuration parameter "pool_version"

postgres@postgres-db-pg-cluster-0:~$ psql -h postgres-db-pg-cluster-pgpool.pf -c "SHOW POOL_VERSION"
Password for user postgres:
pool_version

4.2.2 (chichiriboshi)
(1 row)

Potential bug:
https://github.com/cybertec-postgresql/pgwatch2/blob/master/pgwatch2/pgwatch2.go#L736

@palmalcheg palmalcheg changed the title PGPool dbtype failed to read pgpool stats PGPool dbtype failed to read pgpool version and stopped pgpool monitoring Jun 23, 2022
@palmalcheg palmalcheg changed the title PGPool dbtype failed to read pgpool version and stopped pgpool monitoring Mixed SQL construction causes PgPool dbtype monitoring failure Jun 23, 2022
@palmalcheg
Copy link
Contributor Author

palmalcheg commented Jun 24, 2022

Added related issue to pgpool
https://www.pgpool.net/mantisbt/view.php?id=758

@palmalcheg
Copy link
Contributor Author

Any news ?

@palmalcheg
Copy link
Contributor Author

2022/06/28 11:14:51 DEBU DBExecRead: failed to query pgpool sql: SET lock_timeout TO '100ms';SHOW POOL_VERSION err: pq: unrecognized configuration parameter "pool_version"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants