Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal
Дата
Msg-id 2099.999789056@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal  (Vsevolod Lobko <seva@sevasoft.kiev.ua>)
Список pgsql-patches
Vsevolod Lobko <seva@sevasoft.kiev.ua> writes:
> Can somebody add tcl version checking to configure.in so we can do
> that all on configure stage?

> ok, for now I do it at compile time, based on TCL_MAJOR_VERSION &
> TCL_MINOR_VERSION

I think a compile-time #if on TCL_MAJOR_VERSION is the right thing to
do.  configure couldn't do any more than that for you, anyway.

Also, a runtime test will not work since if you are on an older version,
the calls to the UTF routines will fail to link.

            regards, tom lane

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

Предыдущее
От: Reinhard Max
Дата:
Сообщение: Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: ODBC Patch to deal with poor boolean handling.