Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vsevolod Lobko <seva(at)sevasoft(dot)kiev(dot)ua>
Cc: Reinhard Max <max(at)suse(dot)de>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches <pgsql-patches(at)postgresql(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: Patch for pl/tcl Tcl_ExternalToUtf and Tcl_UtfToExternal
Date: 2001-09-06 15:10:56
Message-ID: 2099.999789056@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Vsevolod Lobko <seva(at)sevasoft(dot)kiev(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-09-06 15:20:33 Re: libpgtcl.dll
Previous Message Mikhail Terekhov 2001-09-06 15:01:24 Re: libpgtcl.dll