Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B5E726331C5 for ; Wed, 8 Apr 2009 07:36:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 94856-01 for ; Wed, 8 Apr 2009 07:36:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og126.obsmtp.com (exprod7og126.obsmtp.com [64.18.2.206]) by mail.postgresql.org (Postfix) with SMTP id 1BE78632D66 for ; Wed, 8 Apr 2009 07:36:09 -0300 (ADT) Received: from source ([209.85.146.181]) by exprod7ob126.postini.com ([64.18.6.12]) with SMTP ID DSNKSdx+GGoXunQWnk5qvIem9RU42fGv75Gq@postini.com; Wed, 08 Apr 2009 03:36:09 PDT Received: by wa-out-1112.google.com with SMTP id m34so20766wag.25 for ; Wed, 08 Apr 2009 03:36:08 -0700 (PDT) Received: by 10.115.110.6 with SMTP id n6mr660719wam.227.1239186968274; Wed, 08 Apr 2009 03:36:08 -0700 (PDT) Received: from ?80.223.212.7? (dsl-hkibrasgw2-fed4df00-7.dhcp.inet.fi [80.223.212.7]) by mx.google.com with ESMTPS id k14sm8121791waf.23.2009.04.08.03.36.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Apr 2009 03:36:07 -0700 (PDT) Message-ID: <49DC7E11.2050501@enterprisedb.com> Date: Wed, 08 Apr 2009 13:36:01 +0300 From: Heikki Linnakangas Organization: EnterpriseDB User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Magnus Hagander CC: Tom Lane , pgsql-hackers@postgreSQL.org Subject: Re: Re: [COMMITTERS] pgsql: Explicitly bind gettext to the correct encoding on Windows. References: <20090122100948.89F977559ED@cvs.postgresql.org> <20643.1232666867@sss.pgh.pa.us> <499821F3.7050004@hagander.net> <22474.1234718514@sss.pgh.pa.us> <49D47C40.5040300@hagander.net> In-Reply-To: <49D47C40.5040300@hagander.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200904/425 X-Sequence-Number: 136528 Magnus Hagander wrote: > Tom Lane wrote: >> Magnus Hagander writes: >>> Tom Lane wrote: >>>> What makes more sense to me is to add a table to encnames.c that >>>> provides the gettext name of every encoding that we support. >>> Do you mean a separate table there, or should we add a new column to one >>> of the existing tables? >> Whichever seems to make more sense is fine with me. I just don't want >> add-an-encoding maintenance requirements spread across N different >> source files. > > I was about to start looking at this when that other thread > (http://archives.postgresql.org//pgsql-hackers/2009-03/msg01270.php) > started about related issues on other platforms. Seems we should have a > "coordinated fix" for this, so I'm going to want and see what come sout > of that one. Unless I'm misunderstanding thigns and they're not related? I've committed a fairly trivial patch per Peter's suggestion to fix the other thread's issue. I left the table as is, so whatever refactorings were planned can now be applied. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com