Re: Do we force dependency?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Do we force dependency?
Дата
Msg-id 2122.1117901635@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Do we force dependency?  (Qingqing Zhou <zhouqq@cs.toronto.edu>)
Список pgsql-hackers
Qingqing Zhou <zhouqq@cs.toronto.edu> writes:
> How do we force the dependency according to pg_dependency records? Seems
> pg_dependency just records them and we follow the records by hand on
> create or delete ...

Deletion scans the entries and either deletes the dependent objects or
raises error.  It's not "by hand" particularly, at least not for
anything outside dependency.c.  If you were to write code that deleted
objects directly without going through the dependency mechanism, it
wouldn't get accepted ;-)
        regards, tom lane


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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: Precedence of %
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Precedence of %