Re: More Code Page wierdness - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: More Code Page wierdness
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE47655E@algol.sollentuna.se
Whole thread Raw
In response to More Code Page wierdness  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: More Code Page wierdness  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers-win32
> > Also, is there anyway we can detect this problem when it
> happens and
> > throw a clear error?
>
> Our documentation claims that psql will throw an error at
> startup time if you've bollixed your code page setting, but
> I'm darned if I see any code that does so.  Is this something
> that happens down in the guts of Microsoft's libc equivalent,
> or is the documentation simply lying?

Not an error, but a warning. It's in src/bin/psql/startup.c, line 663
and forward. Called on line 304, right before going into the MainLoop().


//Magnus

pgsql-hackers-win32 by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: More Code Page wierdness
Next
From: "Magnus Hagander"
Date:
Subject: Re: More Code Page wierdness