Re: drop table and cleanups

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: drop table and cleanups
Дата
Msg-id CAK3UJRHtCi+3F_46nTwEz+vV_riktcygfi_RnjsLJSN2jM_6Kw@mail.gmail.com
обсуждение исходный текст
Ответ на drop table and cleanups  ("Birchall, Austen" <austen.birchall@metoffice.gov.uk>)
Список pgsql-novice
On Mon, Nov 19, 2012 at 8:28 AM, Birchall, Austen
<austen.birchall@metoffice.gov.uk> wrote:
> If I drop a table am I right to assume that all its indexes, sequences etc.
> will also be dropped and that all entries in pg_class, pg_constraint, etc.
> will be cleaned up?

Yes. Check out pg_depend if you're interested in the bookkeeping
behind this dependency tracking:
  http://www.postgresql.org/docs/current/static/catalog-pg-depend.html

Josh


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

Предыдущее
От: "Birchall, Austen"
Дата:
Сообщение: drop table and cleanups
Следующее
От: Ennio-Sr
Дата:
Сообщение: Postgresql-8.4: File System Level Backup (& recovery failure)