| От | Thomas Kellerer |
|---|---|
| Тема | Re: views, queries, and locks |
| Дата | |
| Msg-id | jlhsfb$pn3$1@dough.gmane.org обсуждение исходный текст |
| Ответ на | Re: views, queries, and locks (Jon Nelson <jnelson+pgsql@jamponi.net>) |
| Ответы |
Re: views, queries, and locks
|
| Список | pgsql-general |
Jon Nelson wrote on 04.04.2012 15:50: > I need to have something table-like from the client's perspective for > a bunch of reasons. > For now, assume that I want to keep using the view and that I'd like > to find better ways to address my concerns. What about a set-returning function that builds the query dynamically and wrapping that into a view? That way the view would never change and client would still have the perspective of a view/table Your function could pick up the changes automatically e.g. by looking at information_schema.tables
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера