pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
TCL updates
2+ messages / 2 participants
[nested] [flat]

* TCL updates
@ 2000-07-24 17:00  Kyle <kyle@actarg.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Kyle @ 2000-07-24 17:00 UTC (permalink / raw)
  To: JanWieck@t-online.de; JanWieck@Yahoo.com; pgsql-sql

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?

I would also like to see proper support for nulls in TCL functions as
this has caused us some problems in the past.


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.

Kyle

Attachments:

kyle.vcf (text/x-vcard, 184B) download begin:vcard n:Bateman;Kyle x-mozilla-html:FALSE org:Action Target Inc. adr:;;;;;; version:2.1 email;internet:kyle@actarg.com title:President x-mozilla-cpt:;0 fn:Kyle Bateman end:vcard
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: TCL updates
@ 2000-07-24 22:47  Jan Wieck <JanWieck@t-online.de>
  parent: Kyle <kyle@actarg.com>
  0 siblings, 0 replies; 2+ messages in thread

From: JanWieck@t-online.de @ 2000-07-24 22:47 UTC (permalink / raw)
  To: Kyle <kyle@actarg.com>; +Cc: JanWieck@t-online.de; JanWieck@Yahoo.com; pgsql-sql

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 #





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-07-24 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-07-24 17:00 TCL updates Kyle <kyle@actarg.com>
2000-07-24 22:47 ` Jan Wieck <JanWieck@t-online.de>

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