Re: Re: [BUGS] WIN32 MULTIBYTE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: [BUGS] WIN32 MULTIBYTE
Дата
Msg-id 3364.996544577@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] WIN32 MULTIBYTE  ("Darko Prenosil" <Darko.Prenosil@finteh.hr>)
Список pgsql-interfaces
"Darko Prenosil" <Darko.Prenosil@finteh.hr> writes:
> I think that this header should not be imported in libpq at all,
>> 
>> It isn't --- at least I can't see any inclusion path for it in current
>> sources.
>> 
>> regards, tom lane

> Maybe You can not see it in build for Linux (I did not check),
> but in WIN32.MAK file there is section
> that looks like this:

> !IFDEF MULTIBYTE
> "$(INTDIR)\common.obj" : ..\..\backend\utils\mb\common.c
>     $(CPP) @<<
>     $(CPP_PROJ) /I "." ..\..\backend\utils\mb\common.c

Hmm.  That seems to be rather substantially out of date: in the regular
Unix build, the only file added for MULTIBYTE support is
utils/mb/wchar.c, and it doesn't include any backend-only include files.
We used to import those other backend source files, but that was long
ago.

Please try ripping all the stuff about common.c, conv.c, and big5.c
out of win32.mak, and see if it works then.
        regards, tom lane


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

Предыдущее
От: Cedar Cox
Дата:
Сообщение: bug (lack of feature) in psql
Следующее
От: "Gary S. Brace"
Дата:
Сообщение: libpq problem - kdevelop