Performance improvements and bug fixes :)
Several long standing problems fixed: correct SCRAM passthrough impl, auth-query refactoring, hashmap performance improvements, LDAP auth in separated thread pool and etc.
Features
- add pool_acquire_fail_fast option by @rkhapov in #1396
- deffered BEGIN execution by @rkhapov in #1384
- leasconn algo by @rkhapov in #1385
- notice_host option by @rkhapov in #1386
- getaddinfo cache by @rkhapov in #1404
- limit simultaneous cancel's by @rkhapov in #1430
- cancel count added by @PIKINYA in #1445
- support for prefer-standby tsa by @rkhapov in #1451
- catchup-timeout port by @rkhapov in #1416
- Support log severity & scope GUCs by @reshke in #1449
Fixes
- fix: six memcpy calls in the scram-sha-256 authentic... in scram.c by @orbisai0security in #1379
- groups fixes by @rkhapov in #1387
- fix logger shutdown by @rkhapov in #1395
- od_backend_connect_to: try every addrs by @rkhapov in #1401
- fix: correctly parse SASL mechanism list for TLS connections by @Dominik23 in #1420
- fix connection return for TSA check by @rkhapov in #1429
- use backend connect timeout in deploy by @rkhapov in #1438
- fix FunctionCall packet handler by @rkhapov in #1444
- apply PG-style msg size limits by @rkhapov in #1446
Internals
- move all cleanup into system thread by @rkhapov in #1391
- rules.c: refactor of group checker by @rkhapov in #1393
- move some pg_regress-like tests into separated flow by @rkhapov in #1398
- Added go-style duration parcer by @Fridmak in #1400
- use mm_mutex_t in route and multi_pool by @rkhapov in #1409
- rewrite auth_query impl by @rkhapov in #1413
- introduce waitv to wait_list by @Skiftare in #1412
- do ldap auth in separated thread pool by @rkhapov in #1419
- auth_query: do password update in background by @rkhapov in #1425
- unnecessary include removed in sources/machinarium/epoll.c by @PIKINYA in #1435
- heap impl by @rkhapov in #1457
- use heap in timers by @rkhapov in #1458
New Contributors
- @orbisai0security made their first contribution in #1379
- @Skiftare made their first contribution in #1411
- @Dominik23 made their first contribution in #1420
- @PIKINYA made their first contribution in #1435
Full Changelog: v1.5.1...v1.5.2