About "Allow VIEW/RULE recompilation when the underlying tables change"

Поиск
Список
Период
Сортировка
От suzhiyang
Тема About "Allow VIEW/RULE recompilation when the underlying tables change"
Дата
Msg-id 200912191058189847804@gmail.com
обсуждение исходный текст
Ответы Re: About "Allow VIEW/RULE recompilation when the underlying tables change"  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
I'm doing the Todo List's "Allow VIEW/RULE recompilation when the underlying tables change ". I've a very simple idea that I save the "create view" query_string in systable. When I found that I select from a view, I drop the view and recreate the view by execute the source query_string. Then go on execute this "select from a view" and will get the right answer. My problem is that how could I get the orginal query which user typed to postgres?
Er, maybe drop and recreate the view is an ugly idea...Is there any better methods to do recompilation?
 
Thank you!
 
2009-12-19

suzhiyang

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Largeobject Access Controls (r2460)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Largeobject Access Controls (r2460)