Re: Determining client_encoding from client locale

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: Determining client_encoding from client locale
Date: 2009-07-23 04:31:06
Message-ID: 3073cc9b0907222131s1e35a16aqd9ff0a5ce5a6c045@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jul 22, 2009 at 9:58 PM, Jaime
Casanova<jcasanov(at)systemguards(dot)com(dot)ec> wrote:
> On Wed, Jul 22, 2009 at 7:30 PM, Alvaro
> Herrera<alvherre(at)commandprompt(dot)com> wrote:
>> Jaime Casanova wrote:
>>
>>> this little test compiles fine until i applied your patch :(
>>>
>>> postgres(at)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'
>>
>> Do you have an older version of libpq.so around?
>>
>
> the one that installed with 8.4.0 but i thougth that when you specify
> -L to gcc you're telling it where to pick libraries from, no?
>

more to the point when i used unpatched 8.5 tree it works just fine

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-07-23 04:42:37 Re: join regression failure on cygwin
Previous Message Stephen Frost 2009-07-23 04:09:26 Re: [PATCH] DefaultACLs