Re: pg_depend explained

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_depend explained
Дата
Msg-id 28806.1294855619@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_depend explained  (Joel Jacobson <joel@gluefinance.com>)
Ответы Re: pg_depend explained  (Joel Jacobson <joel@gluefinance.com>)
Список pgsql-hackers
Joel Jacobson <joel@gluefinance.com> writes:
> 2011/1/12 Tom Lane <tgl@sss.pgh.pa.us>:
>> This isn't particularly *useful*, maybe, but it's hardly "impossible".
>> And if we analyzed function dependencies in any detail, circular
>> dependencies among functions would be possible (and useful).

> Thanks Tom for clarifying, this makes me even more motivated into
> implementing the "creation order"-algorithm using only sql/plpgsql and
> pg_depend.
> If you have any ideas on how to do this, in addition to reading the
> dependency.c and pg_dump_sort.c source code, they would be highly
> appreciated.

I've sometimes found it useful to think of internal dependencies as
acting like normal dependencies pointing in the other direction.
I'm not sure that would do much to solve your problem, but it might
be worth trying.
        regards, tom lane


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Add support for logging the current role
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: libpq documentation cleanups (repost 3)