sharing tcl proc's between functions - Mailing list pgsql-general

From Bob Parkinson
Subject sharing tcl proc's between functions
Date
Msg-id s0e296b6.040@ccw0m1.nottingham.ac.uk
Whole thread Raw
Responses Re: sharing tcl proc's between functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Slow dump with pg_dump/pg_restore ? How to improve
Next
From: "Leo Leo"
Date:
Subject: a few Questions about quoted variables in psql