Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDFIc-000762-S3 for pgsql-bugs@postgresql.org; Sun, 16 Sep 2012 13:54:14 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDFIa-0007IY-8a for pgsql-bugs@postgresql.org; Sun, 16 Sep 2012 13:54:14 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDFIZ-0005TG-60 for pgsql-bugs@postgresql.org; Sun, 16 Sep 2012 13:54:11 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TDFIY-0007J3-Ny for pgsql-bugs@postgresql.org; Sun, 16 Sep 2012 13:54:10 +0000 Date: Sun, 16 Sep 2012 13:54:10 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7544: cmd, chcp 65001, show client_encoding, get "not enough memory" error To: pgsql-bugs@postgresql.org From: sharkke.w@gmail.com X-Pg-Spam-Score: -1.5 (-) X-Archive-Number: 201209/158 X-Sequence-Number: 34153 The following bug has been logged on the website: Bug reference: 7544 Logged by: wsh Email address: sharkke.w@gmail.com PostgreSQL version: 9.2.0 Operating system: Windows 7 SP1 Description: = I use the windows shell, cmd, and changed the page code to utf-8 using "chcp 65001", then use psql, type "show client_encoding;" then get "not enough memory" error. Using the default code page(gbk) does not cause this error.