sharing tcl proc's between functions

From: "Bob Parkinson" <rwp(at)biome(dot)ac(dot)uk>
To: <pgsql-general(at)postgresql(dot)org>
Subject: sharing tcl proc's between functions
Date: 2004-06-30 09:32:05
Message-ID: s0e296b6.040@ccw0m1.nottingham.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Is it possible to share some TCL proc's between a set of functions? Something like

proc mything {
}

proc otherthing {
}

create function wantsthings (text) returns text as
'
return [mything [otherthing fubar]]

' language 'pltcl';

Cheers,

Bob

This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Leo Leo 2004-06-30 12:02:56 a few Questions about quoted variables in psql
Previous Message Eric Wright 2004-06-30 08:41:28 Re: postgresql install: jdbc: No such file or directory.