Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.org (8.10.1/8.10.1) with ESMTP id e6P0k3h30090 for ; Mon, 24 Jul 2000 20:46:04 -0400 (EDT) Received: from fwd05.sul.t-online.com by mailout05.sul.t-online.com with smtp id 13GsrC-0001eE-00; Tue, 25 Jul 2000 02:46:02 +0200 Received: from hot.jw.home (340000654369-0001@[62.224.102.15]) by fwd05.sul.t-online.com with esmtp id 13GsrB-1yRRBYC; Tue, 25 Jul 2000 02:46:01 +0200 Received: (from wieck@localhost) by hot.jw.home (8.8.5/8.8.5) id AAA17144; Tue, 25 Jul 2000 00:47:18 +0200 From: JanWieck@t-online.de (Jan Wieck) Message-Id: <200007242247.AAA17144@hot.jw.home> Subject: Re: TCL updates In-Reply-To: <397C7616.B616EC10@actarg.com> from Kyle at "Jul 24, 2000 11:00:06 am" To: Kyle Date: Tue, 25 Jul 2000 00:47:18 +0200 (MEST) CC: JanWieck@t-online.de, JanWieck@Yahoo.com, pgsql-sql@postgresql.org Reply-To: Jan Wieck X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 340000654369-0001@t-dialin.net X-Archive-Number: 200007/234 Kyle wrote: > Jan wrote: > > Beginning with Tcl 8.0, dual ported objects got used to deal > > with values. These have (amongst performance issues) alot of > > benefits. Changing all the call interfaces would make it > > impossible to use PL/Tcl with a pre 8.0 Tcl installation. > > Since we're now at Tcl 8.3 (the last I've seen), ISTM it's > > not a bad decision to force the upgrade. > > > > Comments? > > Jan, I would support this upgrade. I think TCL runs much faster with > the dual ported calls, right? After writing the above (and looking at the code again) I realized that most of the Tcl calls into the PL handler provided C functions go through strings anyway. Each single attribute value must do so, because in the worst case someone might have replaced the output function for int4, and PL/Tcl has to be consistent with that. So I left that one as is for now. > I would also like to see proper support for nulls in TCL functions as > this has caused us some problems in the past. In CURRENT sources, there are two new PL/Tcl commands. "argisnull n" determines if one specific call argument is NULL. "return_null" will do exactly that. > BTW, any news on this: Is there a plan for a way to allow a FK > reference to a table without giving the user select,update privilege on > the referenced table? This is currently causing us some grief in our > design. I'm writing on a proposal to replace the entire permission system to a more normalized and generalized approach. Stay tuned. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #