Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 2C489B5DBDB for ; Tue, 11 Oct 2011 23:17:09 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 20800-07 for ; Wed, 12 Oct 2011 02:17:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-vw0-f46.google.com (mail-vw0-f46.google.com [209.85.212.46]) by mail.postgresql.org (Postfix) with ESMTP id 495C8B5DBD6 for ; Tue, 11 Oct 2011 23:16:59 -0300 (ADT) Received: by vws1 with SMTP id 1so190829vws.19 for ; Tue, 11 Oct 2011 19:17:00 -0700 (PDT) Received: by 10.52.72.196 with SMTP id f4mr21559893vdv.68.1318385819831; Tue, 11 Oct 2011 19:16:59 -0700 (PDT) Received: from ayaki.localdomain ([119.11.11.201]) by mx.google.com with ESMTPS id q8sm818048vdg.9.2011.10.11.19.16.56 (version=SSLv3 cipher=OTHER); Tue, 11 Oct 2011 19:16:58 -0700 (PDT) Message-ID: <4E94F894.9000108@ringerc.id.au> Date: Wed, 12 Oct 2011 10:16:52 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: Bo CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6246: character encoding for 64 bit References: <201110100820.p9A8KWOu064380@wwwmaster.postgresql.org> In-Reply-To: <201110100820.p9A8KWOu064380@wwwmaster.postgresql.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/89 X-Sequence-Number: 31359 On 10/10/2011 04:20 PM, Bo wrote: > The following bug has been logged online: > > Bug reference: 6246 > Logged by: Bo > Email address: bo@budget123.dk > PostgreSQL version: 9.1 > Operating system: Windows server 2008 > Description: character encoding for 64 bit > Details: > > I have just installed postgresql-9.1.1 on a windows server 2008 64 (from > binary postgresql-9.1.1-1-windows-x64) > One database is in latin1 encoding and when connecting to it with psql i get > an error: What's the output of the psql command: \l+ ? What does "SHOW client_encoding;" report for the working and non-working tests? Can you connect to the problem database "demo_" from PgAdmin III? Is it only psql on the Windows command line that's a problem? What's your default codepage for your windows commandline, when you change nothing? -- Craig Ringer