pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #4678: codepage UTF8 crashes psql
3+ messages / 3 participants
[nested] [flat]
* BUG #4678: codepage UTF8 crashes psql
@ 2009-02-27 09:36 Harald Armin Massa <haraldarminmassa@gmail.com>
0 siblings, 0 replies; 3+ messages in thread
From: Harald Armin Massa @ 2009-02-27 09:36 UTC (permalink / raw)
To: pgsql-bugs
The following bug has been logged online:
Bug reference: 4678
Logged by: Harald Armin Massa
Email address: haraldarminmassa@gmail.com
PostgreSQL version: 8.3.5 / 8.3.6
Operating system: XPSP2, 2003, XP SP3, W7 Beta
Description: codepage UTF8 crashes psql
Details:
(same bug in 8.4dev)
C:\>chcp 65001
Aktive Codepage: 65001.
C:\>psql -U postgres --port=5433
Dies ist psql 8.3.5, das interaktive PostgreSQL-Terminal.
Geben Sie ein: \copyright für Urheberrechtsinformationen
\h für Hilfe über SQL-Anweisungen
\? für Hilfe über interne Anweisungen
\g oder Semikolon, um eine Anfrage auszuführen
\q um zu beenden
Warnung: Konsolencodeseite (65001) unterscheidet sich von der Windows-
Codeseite (1252). 8-Bit-Zeichen funktionieren möglicherweise
nicht
richtig. Einzelheiten finden Sie auf der psql-Handbuchseite unter
»Notes for Windows users«.
postgres=# \l
postgres=# gend Arbeitsspeicher.
Summary: setting the console code-page to UTF8 (chcp 65001) and submitting a
command in psql results in "out of memory error" (nicht genügend
Arbeitsspeicher)
The wrangled output is by the "Umlauts"
Workaround: don't do that. (chcp 1252 and setting client-encoding to some
win1252 works, as discribed in notes for Windows users)
Why it is still sad: In applications I have to use UTF-8 to keep my sanity.
Now debugging SQL / putting to files / dumping with different encodings puts
me back to that encoding misery.
Harald
^ permalink raw reply [nested|flat] 3+ messages in thread
* BUG #4678: codepage UTF8 crashes psql
@ 2011-11-07 09:37 Susannah Relf <cyclingrelf@gmail.com>
2011-11-08 05:41 ` Re: BUG #4678: codepage UTF8 crashes psql Craig Ringer <ringerc@ringerc.id.au>
0 siblings, 1 reply; 3+ messages in thread
From: Susannah Relf @ 2011-11-07 09:37 UTC (permalink / raw)
To: pgsql-bugs
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #4678: codepage UTF8 crashes psql
2011-11-07 09:37 BUG #4678: codepage UTF8 crashes psql Susannah Relf <cyclingrelf@gmail.com>
@ 2011-11-08 05:41 ` Craig Ringer <ringerc@ringerc.id.au>
0 siblings, 0 replies; 3+ messages in thread
From: Craig Ringer @ 2011-11-08 05:41 UTC (permalink / raw)
To: Susannah Relf <cyclingrelf@gmail.com>; +Cc: pgsql-bugs
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2011-11-08 05:41 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-02-27 09:36 BUG #4678: codepage UTF8 crashes psql Harald Armin Massa <haraldarminmassa@gmail.com>
2011-11-07 09:37 BUG #4678: codepage UTF8 crashes psql Susannah Relf <cyclingrelf@gmail.com>
2011-11-08 05:41 ` Craig Ringer <ringerc@ringerc.id.au>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox