Re: Possible enhancement : replace view ?

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: Possible enhancement : replace view ?
Дата
Msg-id 1029275206.4742.106.camel@rh72.home.ee
обсуждение исходный текст
Ответ на Re: Possible enhancement : replace view ?  (Emmanuel Charpentier <charpent@bacbuc.dyndns.org>)
Список pgsql-hackers
On Wed, 2002-08-14 at 04:23, Emmanuel Charpentier wrote:
> Hannu Krosing wrote:
> > 
> > I'm trying to propose a scenario where
> > 
> > 1. The SELECT clause defining the view is preserved
> > 
> > 2. DROP of undrlying table/column will _not_ drop the view, but just
> > mark it dirty
> > 
> > 3. Using the view checks for the dirty flag and if it is set tries to
> > recreate the view from its plaintext definition.
> 
> I might be dense, but why not try to recreate it directly after the 
> table/column modification ?

If it is a DROP TABLE/CREATE TABLE sequence you have no idea that you
have to recreate a view.

-----------
Hannu


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Temporary Views
Следующее
От: Curt Sampson
Дата:
Сообщение: Re: OOP real life example (was Re: Why is MySQL more