| От | Constantin Teodorescu |
|---|---|
| Тема | Re: GD global data array capabilities in pltcl |
| Дата | |
| Msg-id | 3DABA6F7.5010607@flex.ro обсуждение исходный текст |
| Ответ на | Re: GD global data array capabilities in pltcl ("Nigel J. Andrews" <nandrews@investsystems.co.uk>) |
| Список | pgsql-interfaces |
Tom Lane wrote: >"Nigel J. Andrews" <nandrews@investsystems.co.uk> writes: > > >>so I would say it's not accessable from other functions within the same >>backend. I doubt very much that this data is database wide I can only see it >>being backend specific. >> >> > >It's definitely backend-local. I imagine you could access another >procedure's GD if you could determine its name (it's built from the >pg_proc OID, I think). However, if you want to share global data across >pltcl functions in the same backend session, you shouldn't bother with >GD at all: just create named global Tcl variables. All pltcl functions >in a backend run in the same interpreter, so they can trivially access >global variables. > > > OK. Got that! Thanks a lot! teo
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера