Allow COMMENT ON to accept an expression rather than just a string
В списке pgsql-hackers по дате отправления:
| От | Abhijit Menon-Sen |
|---|---|
| Тема | Allow COMMENT ON to accept an expression rather than just a string |
| Дата | |
| Msg-id | 20090411044747.GA7640@toroid.org обсуждение исходный текст |
| Ответы |
Re: Allow COMMENT ON to accept an expression rather than
just a string
Re: Allow COMMENT ON to accept an expression rather than just a string |
| Список | pgsql-hackers |
Hi. There's a TODO item about making COMMENT ON accept an expression. The grammar change is simple (SConst|NULL_P->a_expr), but as far as I can see, there are no similar utility commands that take expressions, and I'm not very familiar with the planner and executor, so I could use some advice about how to evaluate the expression. Also: what expressions should the code accept? I want to be able to use a parameter. Does that require extra work? What about subqueries, would they be useful in this context? (Or would it be better to just have functions that can set object and column descriptions instead?) Thanks. -- ams
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера