Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E0279B5DC1A for ; Wed, 12 Oct 2011 12:45:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 36618-02 for ; Wed, 12 Oct 2011 15:45:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id 53672B5DBFB for ; Wed, 12 Oct 2011 12:45:09 -0300 (ADT) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RE0zS-0008ER-O5 for pgsql-bugs@postgresql.org; Wed, 12 Oct 2011 17:45:06 +0200 Received: from host217-36-22-230.in-addr.btopenworld.com ([217.36.22.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Oct 2011 17:45:06 +0200 Received: from cyclingrelf by host217-36-22-230.in-addr.btopenworld.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Oct 2011 17:45:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-bugs@postgresql.org From: Susannah Subject: Re: BUG #6246: character encoding for 64 bit Date: Wed, 12 Oct 2011 11:42:28 +0000 (UTC) Lines: 33 Message-ID: References: <201110100820.p9A8KWOu064380@wwwmaster.postgresql.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 217.36.22.230 (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.801 tagged_above=-5 required=5 tests=BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, FREEMAIL_FROM=0.001, RP_MATCHES_RCVD=-0.504, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201110/98 X-Sequence-Number: 31368 Bo budget123.dk> writes: > > > 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: > > D:\>d:\PostgreSQL\9.1\bin\psql.exe -d demo_ -U postgres -c "comment on > database demo_ is 'test'" > Password for user postgres: > psql: FATAL: conversion between WIN1252 and LATIN1 is not supported > ***************************** > > Regards Bo TJ > I get a very similar error with both 64 bit and 32 bit postgres installations. I have a table in LATIN1, but whenever I try to connect using psql, I get error message: postgres=# \c mydb FATAL: conversion between WIN1252 and LATIN1 is not supported Previous connection kept I can connect through pgAdmin and create tables etc, just not with psql.