Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 153AD839847 for ; Tue, 8 Nov 2011 01:41:58 -0400 (AST) 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 13518-02 for ; Tue, 8 Nov 2011 05:41:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-vx0-f174.google.com (mail-vx0-f174.google.com [209.85.220.174]) by mail.postgresql.org (Postfix) with ESMTP id 18594839848 for ; Tue, 8 Nov 2011 01:41:50 -0400 (AST) Received: by vcbf1 with SMTP id f1so95502vcb.19 for ; Mon, 07 Nov 2011 21:41:50 -0800 (PST) Received: by 10.52.109.102 with SMTP id hr6mr30666003vdb.44.1320730910049; Mon, 07 Nov 2011 21:41:50 -0800 (PST) Received: from ayaki.localdomain (203-59-112-40.dyn.iinet.net.au. [203.59.112.40]) by mx.google.com with ESMTPS id dw3sm732077vdb.16.2011.11.07.21.41.47 (version=SSLv3 cipher=OTHER); Mon, 07 Nov 2011 21:41:48 -0800 (PST) Message-ID: <4EB8C118.5020003@ringerc.id.au> Date: Tue, 08 Nov 2011 13:41:44 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 MIME-Version: 1.0 To: Susannah Relf CC: pgsql-bugs@postgresql.org Subject: Re: BUG #4678: codepage UTF8 crashes psql References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; 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: 201111/57 X-Sequence-Number: 31652 On 11/07/2011 05:37 PM, Susannah Relf wrote: > I'm running postgres 9.1 and getting this same bug. > > Am running the client in UTF-8 (chcp 65001), have set the environment > variable PGCLIENTENCODING to UTF8, set the terminal font to Lucida > psql returns "Out of memory error" for any simple query (e.g. SELECT > MAX(date) FROM mytable;), even on small tables. Can you be more specific about your environment? - Exact version of Windows including edition, service pack and 32/64 bit info - Exact version of PostgreSQL and where you downloaded it from - Font - lucidia *what* ? "Lucidia Console" ? - Does the issue happen with other unicode fonts or just this one? - Are you using the regular cmd.exe console ? -- Craig Ringer