sharing tcl proc's between functions

Поиск
Список
Период
Сортировка
От Bob Parkinson
Тема sharing tcl proc's between functions
Дата
Msg-id s0e296b6.040@ccw0m1.nottingham.ac.uk
обсуждение исходный текст
Ответы Re: sharing tcl proc's between functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Slow dump with pg_dump/pg_restore ? How to improve
Следующее
От: "Leo Leo"
Дата:
Сообщение: a few Questions about quoted variables in psql