| От | Raphael Bauduin |
|---|---|
| Тема | Re: setting custom session variables? |
| Дата | |
| Msg-id | 419DC906.6010902@be.easynet.net обсуждение исходный текст |
| Ответ на | Re: setting custom session variables? (Joe Conway <mail@joeconway.com>) |
| Список | pgsql-novice |
Joe Conway wrote: > Tom Lane wrote: > >> Raphael Bauduin <raphael.bauduin@be.easynet.net> writes: >> >>> Can I set my own postgresql session variables? >> >> >> Not in existing releases. There is a feature in 8.0 that you could >> use (or misuse?) that way. >> > > Also see myfunc_setvar(), myfunc_getvar, and myfunc_rmvar() in: > http://www.joeconway.com/myfunc.tgz > for an example of how you could make your own. There is an article that > briefly describes these functions here: > http://www.onlamp.com/pub/a/onlamp/2004/06/28/postgresql_extensions.html > I finally had the time to test it and it does exactly what I need. That saves us a lot of work, just as tablefunc does. Thanks a lot! Raph > > HTH, > > Joe
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера