]> granicus.if.org Git - postgresql/commit
Fix typo in PQconnectStartParams().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Apr 2011 22:05:46 +0000 (18:05 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Apr 2011 22:05:46 +0000 (18:05 -0400)
commit672def62259354f28000e8cfb97b6668192369c2
tree8809d8dfd89aa44eb63e959b9f1465d9a614cf96
parent7b99cfbe565e1b2193cefff79f2476c8373b7c61
Fix typo in PQconnectStartParams().

This would lead to leaking the PGconn structure after an error detected by
conninfo_array_parse(), as well as failing to return a useful error message
in such cases.  Backpatch to 9.0 where the error was introduced.

Joseph Adams
src/interfaces/libpq/fe-connect.c