Close the FD if we can't fdopen it.  Found by codesonar
Close the FD if we can't fdopen it.  Found by codesonar
Make internal references match configuration references and update README.md to match.
Free handle if we can't spawn a thread.  Found by codesonar
Rework min/max/spare handling

So we don't let idle connections make us go below "min"
Cap spawn at max
Typo
Remove duplicate test (list-delete) was duplicate test of update-remove-list
Clear the error buffer after loading dictionaries
Anything which eventually has the value it got interpreted by pairparsevalue, or doesn't pass the length of the string around must not pre-unescape the string

This broke pretty much all escape sequences in preprocess, sql, ldap and radclient. Arguably as conffile.c is the only place which needs this, it should probably be the thing doing the unescaping.
Use talloc for row memory
More SSL initialisation
Move PQ ssl init to instantiation function, just in case it needs to be done before we spawn threads
Spawn connections "in_use" or not.

No more double uses of the connections
Simplified sanity checks
Disabled debug checks
Various minor PG fixes
Cleanup connection properly on error
Minor fixes
Don't leak the results of open_querys