Commit Graph

8 Commits

Author SHA1 Message Date
kirill reshke d215160b3a
Fix compiler warnings (#386) 2021-12-09 16:34:04 +05:00
kirill reshke cb508c3d78
Fix scram with pg version num >= 140 000 (#383) 2021-12-09 12:26:27 +05:00
kirill reshke ee9b0e23e2
Fix config validation for auth query when there is no PAM module avai… (#382)
* Fix config validation for auth query when there is no PAM module available in system

* Fix compiler warns

Co-authored-by: Kirill Reshke <reshke@qavm-da1bb86b.qemu>
2021-12-09 12:26:20 +05:00
kirill reshke ba6513323f
Add storage watchdog with standby lag polling support (#380)
* Move auth query server querying logic to separate file

* Refactor query code to support not only "auth_query" like queries

* Move storage logic to separate file & add storage watchdog

* Force several settings on starts

* Fix simple query parsing

* Fixed bugs

* Fix config reload

* Add tests

* Move cathcup logic to separate func

* Fix tests[2]

Co-authored-by: Andrey Borodin <amborodin@acm.org>
2021-12-08 15:54:43 +05:00
reshke 70b4c6f3e6 Feature: ability to use connections separate pooling with auth query 2021-12-06 09:12:23 +00:00
reshke a9a6c07044 Refactor rule pool, add internal pooling feature 2021-12-06 08:28:02 +00:00
reshke 8967555f61 Fix for auth query when user password is empty 2021-12-05 15:51:00 +00:00
reshke 60179948ae Moved dev condigs to special folder 2021-11-29 16:03:32 +05:00