Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-general

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';



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

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group