Re: all views in database broken at once
От | Tom Lane |
---|---|
Тема | Re: all views in database broken at once |
Дата | |
Msg-id | 10339.985495016@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: all views in database broken at once (Mathijs Brands <mathijs@ilse.nl>) |
Ответы |
Re: all views in database broken at once
|
Список | pgsql-sql |
Mathijs Brands <mathijs@ilse.nl> writes: > How about being able to recompile them (keeping the SQL around in the > system catalogs)? Doesn't Oracle allow you to do something like that? That's another possibility. It's not real clear that there's any advantage to storing rules in preparsed form to begin with --- if we just stored the original text and reparsed it each time it was read, the system would be vastly more flexible, and probably not noticeably slower. Right now the parser doesn't really support this: there's no way to extract the portion of the original query string that corresponds to the body of the CREATE RULE/VIEW command. But that could be fixed with some straightforward hacking... regards, tom lane
В списке pgsql-sql по дате отправления: