Re: problem/bug in drop tablespace?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: problem/bug in drop tablespace?
Дата
Msg-id CA+TgmoZdnku3rqRqKfeVVCooKHJ19ev1rxJ6X4_xkX8Gi+TZHg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: problem/bug in drop tablespace?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: problem/bug in drop tablespace?  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Fri, May 11, 2012 at 7:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> A larger question is whether we should start making pg_shdepend entries
> for table/index usage of non-default tablespaces, so that you couldn't
> DROP a tablespace that the catalogs think still has tables/indexes in
> it.

I'm astonished we don't do that already.  Seems inconsistent with
other SQL object types - most obviously, schemas - and a potentially
giant foot-gun.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Ensure age() returns a stable value rather than the latest value
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Draft release notes complete