Re: pg_depend
От | Bruce Momjian |
---|---|
Тема | Re: pg_depend |
Дата | |
Msg-id | 200107171646.f6HGkZM13463@candle.pha.pa.us обсуждение исходный текст |
Ответ на | pg_depend (Bruce Momjian <pgman@candle.pha.pa.us>) |
Список | pgsql-hackers |
> When a table is dropped, you scan all of these objects (their system > catalogs) for matches against the table and either do a cascade or > restrict. This is not new, we already do this for indexes and > descriptions, for instance. I was thinking we could centralize all that checking in pg_depend. However, we could decide just to do the areas where system tables don't work, like foreign keys and sequences. But when I find an oid depends on me, do I start scanning tables looking to see if is a sequence or a foreign key? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: