| От | Alvaro Herrera |
|---|---|
| Тема | Re: Question about dependency functions in the backend |
| Дата | |
| Msg-id | 20060423223941.GH4775@surnet.cl обсуждение |
| Ответ на | Question about dependency functions in the backend (Gevik Babakhani <pgdev@xs4all.nl>) |
| Список | pgsql-hackers |
Gevik Babakhani wrote: > I was wondering whether there is a backend function to help finding the > dependencies on a relation.column inside pg_depend. Something like > dependency.c:0255:findAutoDeletableObjects also taking the "refobjsubid" > with the search. This I ask in order to avoid reinventing the wheel :) > > Perhaps the "findAutoDeletableObjects" could be used but the function > name is confusing. Huh, you can certainly give the refobjsubid to findAutoDeletableObjects. Just set it to a non-zero value. Note that that function only returns DEPENDENCY_INTERNAL and DEPENDENCY_AUTO objects however. What do you need it for? -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера