pgsql: Fix typo in PQconnectStartParams(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix typo in PQconnectStartParams().
Date
Msg-id E1Q68x7-0004bB-Kk@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d518d6a168797c2e3b9cf03a3b5cfa335be735bb

Modified Files
--------------
src/interfaces/libpq/fe-connect.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix typo in PQconnectStartParams().
Next
From: Robert Haas
Date:
Subject: pgsql: Avoid possible hang during smart shutdown.