Re: Determining client_encoding from client locale
От | Jaime Casanova |
---|---|
Тема | Re: Determining client_encoding from client locale |
Дата | |
Msg-id | 3073cc9b0907221629x69f7a7c2hdcf1cd1346cac586@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Determining client_encoding from client locale (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
Ответы |
Re: Determining client_encoding from client locale
Re: Determining client_encoding from client locale |
Список | pgsql-hackers |
On Mon, Jul 6, 2009 at 10:00 AM, Heikki Linnakangas<heikki.linnakangas@enterprisedb.com> wrote: > Here's my first attempt at setting client_encoding automatically from > locale. > > It adds a new conninfo parameter to libpq, "client_encoding". If set to > "auto", libpq uses the encoding as returned by > pg_get_encoding_from_locale(). Any other value is passed through to the > server as is. > i was trying to test this and make a simple program based on the first libpq example that only shows client_encoding this little test compiles fine until i applied your patch :( postgres@casanova1:~/pg_releases/pgtests$ gcc -o test-libpq test-libpq.o -L/usr/local/pgsql/head/lib -lpq /usr/local/pgsql/head/lib/libpq.so: undefined reference to `pg_get_encoding_from_locale' collect2: ld returned 1 exit status just in case i attached the test program. -- Atentamente, Jaime Casanova Soporte y capacitación de PostgreSQL Asesoría y desarrollo de sistemas Guayaquil - Ecuador Cel. +59387171157
Вложения
В списке pgsql-hackers по дате отправления: