Re: libpgtcl doesn't use UTF encoding of TCL

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Reinhard Max <max(at)suse(dot)de>
Cc: elf(at)solvo(dot)ru, pgsql-bugs(at)postgresql(dot)org
Subject: Re: libpgtcl doesn't use UTF encoding of TCL
Date: 2001-07-18 16:22:14
Message-ID: 200107181622.f6IGMEM15114@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-interfaces

> On Wed, 18 Jul 2001, Bruce Momjian wrote:
>
> > Do you have any idea how this will work with earlier TCL versions?
>
> It won't. If pgtcl is supposed to still be able to compile with older
> versions of Tcl, the changes have to be made a compile time option.

Can't we probe the TCL version in the code and handle it that way?

> > When was Tcl_UtfToExternalDString added to TCL?
>
> According to Tcl's changelog files, it was added in 1997 for Tcl 8.1
> wich was released in 1999.

Shame. I think we could have required Tcl 8.X but clearly we can't be
requring >= 8.1. I have 8.0 here and I am sure many do as well.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-07-18 18:53:22 Re: libpgtcl doesn't use UTF encoding of TCL
Previous Message Tom Lane 2001-07-18 16:21:28 Re: Curious result from text ( netmask ( inet ) ) functions.

Browse pgsql-hackers by date

  From Date Subject
Next Message Patrick Macdonald 2001-07-18 16:27:41 Re: Idea: recycle WAL segments, don't delete/recreate 'em
Previous Message Reinhard Max 2001-07-18 16:14:59 Re: libpgtcl doesn't use UTF encoding of TCL

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2001-07-18 18:53:22 Re: libpgtcl doesn't use UTF encoding of TCL
Previous Message Reinhard Max 2001-07-18 16:14:59 Re: libpgtcl doesn't use UTF encoding of TCL