Re: Determining client_encoding from client locale
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Jaime Casanova <jcasanov@systemguards.com.ec>
Cc: Magnus Hagander <magnus@hagander.net>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, pgsql-hackers@postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>, Bruce Momjian <bruce@momjian.us>, Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Date: 2011-01-14T19:12:42Z
Lists: pgsql-hackers
Attachments
- psql-client-encoding-auto.patch (text/x-patch) patch
On lör, 2009-07-25 at 01:41 -0500, Jaime Casanova wrote: > On Fri, Jul 24, 2009 at 2:23 AM, Magnus Hagander<magnus@hagander.net> wrote: > >> > >> 1) it introduces a dependency for -lpgport when compiling a client > >> that uses libpq > >> http://archives.postgresql.org/pgsql-hackers/2009-07/msg01511.php > > > > For other parts of libpgport that are needed, we pull in the > > individual source files. We specifically *don't* link libpq with > > libpgport, for a reason. There's a comment in the Makefile that > > explains why. > > > > ok, attached a version that modifies src/interfaces/libpq/Makefile to > push chklocale.o and eliminate the dependency on libpgport, this > change also fixes the compile problem on windows I have adjusted your old patch for the current tree, and it seems to work. I think it was just forgotten last time because the move to PQconnectdbParams had to happen first. But I'll throw it back into the ring now.