mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03:00
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
This commit is contained in:
@ -446,7 +446,7 @@ PQconnectStartParams(const char **keywords,
|
||||
{
|
||||
conn->status = CONNECTION_BAD;
|
||||
/* errorMessage is already set */
|
||||
return false;
|
||||
return conn;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user