Re: Running config vars
| От | Joe Conway |
|---|---|
| Тема | Re: Running config vars |
| Дата | |
| Msg-id | 004e01c0dfc3$a9af5230$54d410ac@jecw2k1 обсуждение исходный текст |
| Ответ на | Re: Running config vars (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
> Bruce Momjian writes: > > > I will try to get this feature into 7.2, though as backend code. > > I've long been thinking that the SET/RESET/SHOW commands could be > implemented as stored procedures and/or functions. That way you could > cleanly return the settings to the client application and compose new > values out of arbitrary expressions. If ever functions can return > multiple rows you could also arrange for them to show all current > settings. I added a function to the c library that I sent to patches the other day -- called "get_var". It implements what you describe above (that is, one variable at a time). I'd like to get this into contrib, or do the work necessary to get it into the backend -- any interest in letting me give that a try? Thanks, Joe
В списке pgsql-hackers по дате отправления: