Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale) - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
Date
Msg-id 4AF04705.7070700@enterprisedb.com
Whole thread Raw
In response to Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
>> Is anyone planning to do further work on this?  This appears to be
>> blocking the client_encoding=auto feature.
> 
> Huh?  Why would there be any linkage?  This is just offering an
> alternative way to set connection options, it has nothing to do
> with what the set of options is.

The client_encoding=auto feature would use the new function in psql to
set the client_encoding to 'auto'. Otherwise it needs to construct a
properly quoted connection string and pass it to the existing
PQconnectdb, which is a bit laborious.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: backup_label in a crash recovery
Next
From: Magnus Hagander
Date:
Subject: Re: EOL for 7.4?