On sön, 2010-01-31 at 09:34 +0100, Guillaume Lelarge wrote:
I worked on a patch to make PostgreSQL binaries use the new
PQconnectdbParams() libpq functions.
Can someone dig out the patch that Heikki had started to support psql
automatically setting the client encoding? I think that's what
Hi,
I worked on a patch to make PostgreSQL binaries use the new
PQconnectdbParams() libpq functions. I tried to mimic the way Joe Conway
changed my previous patch.
I know I'm way over the deadline for this commitfest. I couldn't do it
before because my previous patch (on this commit fest)
On Sun, Jan 31, 2010 at 09:34, Guillaume Lelarge guilla...@lelarge.info wrote:
Hi,
I worked on a patch to make PostgreSQL binaries use the new
PQconnectdbParams() libpq functions. I tried to mimic the way Joe Conway
changed my previous patch.
I know I'm way over the deadline for this
Le 31/01/2010 13:39, Magnus Hagander a écrit :
On Sun, Jan 31, 2010 at 09:34, Guillaume Lelarge guilla...@lelarge.info
wrote:
Hi,
I worked on a patch to make PostgreSQL binaries use the new
PQconnectdbParams() libpq functions. I tried to mimic the way Joe Conway
changed my previous patch.
Guillaume Lelarge guilla...@lelarge.info writes:
*/
do
{
+ const char *values[] = {
+ my_opts-hostname,
+ my_opts-port,
+ my_opts-dbname,
+ my_opts-username,
+ password,
Le 31/01/2010 17:35, Tom Lane a écrit :
Guillaume Lelarge guilla...@lelarge.info writes:
*/
do
{
+ const char *values[] = {
+ my_opts-hostname,
+ my_opts-port,
+ my_opts-dbname,
+
On 01/31/2010 09:42 AM, Guillaume Lelarge wrote:
I don't find that horrid. AFAICT, that's the only advantage of the
two-arrays method. By the way, it's that kind of code (keywords
declaration separated from values declaration) that got commited in the
previous patch