pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Reinhard Max <max@suse.de>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: elf@solvo.ru
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL
Date: Thu, 19 Jul 2001 13:40:47 -0400
Message-ID: <24207.995564447@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.33.0107191214040.8261-100000@wotan.suse.de>
References: <Pine.LNX.4.33.0107191214040.8261-100000@wotan.suse.de>

Reinhard Max <max@suse.de> writes:
>> [ concerning libpgtcl ]
>> We really don't want to give up backwards compatibility just yet.

> How far do you want it to be backwards compatible? If >= 8.0 is OK,
> I'll possibly overwork libpq later this year to use Tcl's object
> interface. I expect at least some performance gain out of this.

That's been on the to-do list for awhile, but we haven't really faced up
to the question of whether Tcl 7.* compatibility is still important to
retain.  I can see three plausible paths:

1. Drop 7.* compatibility, rework code to use 8.0 object interfaces.

2. Rework code to use object interfaces #if TCL >= 8.0, else not.

3. Build a separate, new implementation that's only for Tcl >= 8.0,
   but leave the old code available as a separate library.

My guess is that #2 would uglify the code to the point of
unmaintainability --- but I haven't really looked to see how extensive
the changes might be; perhaps it'd be workable.  #3 would create a
different sort of maintainability issue, namely updating two parallel
sets of code when there were common bugs.  Probably the old code would
get dropped at some future time anyway, so that ultimately #3 becomes
#1.

I don't have a strong opinion about what to do.  I've cc'd this to
pgsql-interfaces, maybe we can get some comments there.  Does anyone
still use/care about Tcl 7.* ?

			regards, tom lane



view thread (18+ messages)  latest in thread

Message-ID: <24207.995564447@sss.pgh.pa.us>
Permalink:  ../24207.995564447@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24207.995564447@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, max@suse.de, pgman@candle.pha.pa.us, elf@solvo.ru
  Subject: Re: [BUGS] libpgtcl doesn't use UTF encoding of TCL
  In-Reply-To: <24207.995564447@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox