BUG #6161: Not enough memory error in psql with UTF8 console

Поиск
Список
Период
Сортировка
От Gavin Kistner
Тема BUG #6161: Not enough memory error in psql with UTF8 console
Дата
Msg-id 201108121633.p7CGXiWv071602@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #6161: Not enough memory error in psql with UTF8 console  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      6161
Logged by:          Gavin Kistner
Email address:      gkistner@nvidia.com
PostgreSQL version: 9.0.4
Operating system:   Windows 7x64
Description:        Not enough memory error in psql with UTF8 console
Details:

1. Create registry key "HKEY_LOCAL_MACHINE\Software\Microsoft\Command
Processor\Autorun" with value "@chcp 65001>nul" to set Windows console to
UTF8 (see url[1]).

2. Open a new cmd.exe window

3. Connect to a simple database using psql.exe
--> Text displayed:
WARNING: Console code page (65001) differs from Windows code page (1252)
         8-bit characters might not work correctly. See psql reference
         page "Notes for Windows users" for details.

4. Type "\dt"

EXPECTED: List of tables.
ACTUAL: "Not enough memory." displayed.

5. \q and close the cmd.exe window.
6. Delete the Autorun registry key.
7. Repeat steps 2-3
--> Text displayed:
WARNING: Console code page (437) differs from Windows code page (1252)
         8-bit characters might not work correctly. See psql reference
         page "Notes for Windows users" for details.

4. Type "\dt"
--> List of tables is properly displayed

[1] http://superuser.com/questions/269818

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "pasman"
Дата:
Сообщение: BUG #6160: Sources from git repository not compile.
Следующее
От: pasman pasmański
Дата:
Сообщение: Re: BUG #6160: Sources from git repository not compile.