diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-11 03:08:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-03-11 03:08:37 +0000 |
commit | a71daab4b465c4701489dd992005c65ca8604584 (patch) | |
tree | 02ac5d760dacf002cc2db8134f37a7b4e4870c26 /src/backend/parser/parse_func.c | |
parent | 773e84f52a57e3d1d2d4c98c6f49925b7c47b4ac (diff) | |
download | postgresql-a71daab4b465c4701489dd992005c65ca8604584.tar.gz postgresql-a71daab4b465c4701489dd992005c65ca8604584.zip |
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.
Diffstat (limited to 'src/backend/parser/parse_func.c')
0 files changed, 0 insertions, 0 deletions