Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Jaime Casanova <jcasanov@systemguards.com.ec>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Jaime Casanova <jcasanov@systemguards.com.ec>
Дата:
On Thu, Sep 10, 2009 at 12:01 AM, Jaime Casanova wrote: > On Mon, Jul 6, 2009 at 10:00 AM, Heikki > Linnakangas wrote: >> >> Could we >> have a version of PQconnectdb() with an API more suited for setting the >> params programmatically? The PQsetdbLogin() approach doesn't scale as >> parameters are added/removed in future versions, but we could have >> something like this: >> >> PGconn *PQconnectParams(const char **params) >> >> Where "params" is an array with an even number of parameters, forming >> key/value pairs. Usage example: >> i extracted the functions to connect that Heikki put on psql in his patch for determining client_encoding from client locale and put it in libpq so i follow the PQconnectdbParams(* params[]) approach. i put the new function at the end of the exports.txt file, there's a reason to renumber the exports to put it at the beginning with the other PQconnectdb function? this patch still lacks documentation, i will add it in the next days but want to know if you have any comments about this... -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Jaime Casanova <jcasanov@systemguards.com.ec>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Jaime Casanova <jcasanov@systemguards.com.ec>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Jaime Casanova <jcasanov@systemguards.com.ec>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Jaime Casanova <jcasanov@systemguards.com.ec>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Jaime Casanova <jcasanov@systemguards.com.ec>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Andrew Chernow <ac@esilo.com>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Andrew Chernow <ac@esilo.com>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Andrew Chernow <ac@esilo.com>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Andrew Chernow <ac@esilo.com>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Robert Haas <robertmhaas@gmail.com>
Дата:
Re: new version of PQconnectdb was:(Re: [HACKERS] Determining client_encoding from client locale)
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата: