Re: Temporary Views

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Temporary Views
Дата
Msg-id 26824.1029255758@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Temporary Views  (Rod Taylor <rbt@zort.ca>)
Ответы Re: Temporary Views
Список pgsql-hackers
Rod Taylor <rbt@zort.ca> writes:
> I was playing with this a while back (when I had initially added CASCADE
> to tables).  I believe that in the event of a crash the temp tables are
> not removed until their next use.  This means that stale *real* items
> may litter the system but the temp table no longer exists in these rare
> occurrences.

Huh?  The view goes away at exactly the same time the temp table does.
If you suffer a backend crash then that may be postponed ... but the
view continues to work up till the instant that it's removed.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Please, apply patch for contrib/tsearch
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: db partial dumping with pg_dump