Re: ecpglib use PQconnectdbParams

Christian Ullrich <chris@chrullrich.net>

From: Christian Ullrich <chris@chrullrich.net>
To: pgsql-hackers@postgresql.org
Date: 2012-02-03T12:15:30Z
Lists: pgsql-hackers
* Peter Eisentraut wrote:

> I noticed ecpglib still uses PQconnectdb() with a craftily assembled
> connection string.  Here is a patch to use PQconnectdbParams() instead.

+	const char *conn_keywords[6];
+	const char *conn_values[6];

Shouldn't these be [7]? You can have up to 6 items, plus the terminator.

-- 
Christian Ullrich