Skip site navigation (1) Skip section navigation (2)

pgsql: Patch of Win32 Encoding problem for server messages using

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Patch of Win32 Encoding problem for server messages using
Date: 2006-12-04 22:23:41
Message-ID: 20061204222341.1B9DF9FA285@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Patch of Win32 Encoding problem for server messages using
FormatMessage() (This should have been in 8.2.0, patched to 8.2.X and
HEAD):

I think this problem to be complex....
http://archives.postgresql.org/pgsql-hackers/2006-11/msg00042.php

FormatMessage of windows cannot consider the encoding of the database.
However, I should try the solution now. It is necessary to clear the
problem.

Multi character-code exists together in message and log. It doesn't
consider
the data base encoding that the user intended....

The user in multi-byte country can try this.
http://inet.winpg.jp/~saito/pg_bug/MessageCheck.c

That is, it is likely to become it in this manner.(Japanese)
http://inet.winpg.jp/~saito/pg_bug/FormatMessage998.png

Hiroshi Saito

Modified Files:
--------------
    pgsql/src/backend/port/dynloader:
        win32.c (r1.8 -> r1.9)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/dynloader/win32.c.diff?r1=1.8&r2=1.9)
    pgsql/src/backend/port/win32:
        socket.c (r1.14 -> r1.15)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win32/socket.c.diff?r1=1.14&r2=1.15)
    pgsql/src/interfaces/libpq:
        win32.c (r1.19 -> r1.20)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/win32.c.diff?r1=1.19&r2=1.20)
    pgsql/src/port:
        dirmod.c (r1.44 -> r1.45)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/dirmod.c.diff?r1=1.44&r2=1.45)

pgsql-committers by date

Next:From: Bruce MomjianDate: 2006-12-04 22:24:04
Subject: pgsql: Patch of Win32 Encoding problem for server messages using
Previous:From: User OkbobDate: 2006-12-04 10:28:50
Subject: plpsm - plpgpsm: Imported Sources

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group