Re: More Code Page wierdness

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Simon Riggs" <simon(at)2ndquadrant(dot)com>, <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: More Code Page wierdness
Date: 2005-01-11 09:09:15
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE47655E@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2005-01-11 09:18:37 Re: More Code Page wierdness
Previous Message Magnus Hagander 2005-01-11 08:49:40 Re: More Code Page wierdness