Change PQconndefaults() to return a malloc'd array, instead of a static

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a71daab4b465c4701489dd992005c65ca8604584
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-03-11T03:08:37Z
Releases: 7.1.1
Change PQconndefaults() to return a malloc'd array, instead of a static
array.  This allows processing of conninfo strings to be made thread-safe,
at the cost of a small memory leak in applications that use
PQconndefaults() and are not updated to free the returned array via
the new PQconninfoFree() function.  But PQconndefaults() is probably not
used very much, so this seems like a good compromise.

Files