RE: relation ### modified while in use

Поиск
Список
Период
Сортировка
От Alex Pilosov
Тема RE: relation ### modified while in use
Дата
Msg-id Pine.BSO.4.10.10011021715030.4001-100000@spider.pilosoft.com
обсуждение исходный текст
Ответ на RE: relation ### modified while in use  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
On Fri, 3 Nov 2000, Hiroshi Inoue wrote:

> PL/pgSQL already prepares a plan at the first execution
> time and executes the plan repeatedly after that.
> We would have general PREPARE/EXECUTE feature in the
> near fututre. IMHO another mechanism to detect plan invali
> dation is needed.
Excellent point. While now I don't consider it too inconvenient to reload
all my stored procedures after I change database structure, in future, I'd
love it to be handled by postgres itself.

Possibly, plpgsql (or postgresql itself) could have a 'dependency' list of
objects that the current object depends on?

This would additionally help dump/restore (the old one, I'm not talking
about the newfangled way to do it), since, for restore, you need to dump
the objects in the order of their dependency, and plpgsql procedure can
potentially depend on an object that has a higher OID...

-alex




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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: Transaction costs?
Следующее
От: Pam Withnall
Дата:
Сообщение: FUNCTIONS returning a record?