Re: Why can't I drop a tablespace?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why can't I drop a tablespace?
Дата
Msg-id 2949871.1626102784@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why can't I drop a tablespace?  ("Phil Endecott" <spam_from_pgsql_list@chezphil.org>)
Ответы Re: Why can't I drop a tablespace?  ("Phil Endecott" <spam_from_pgsql_lists@chezphil.org>)
Список pgsql-general
"Phil Endecott" <spam_from_pgsql_list@chezphil.org> writes:
> Thanks Laurenz. I was looking at the source for "alter table set
> tablespace" yesterday trying to work out what is supposed to happen.
> There is a comment at tablecmds.c line 3989: "Thanks to the magic of
> MVCC, an error anywhere along the way rolls back the whole operation;
> we don't have to do anything special to clean up." But I guess that
> creating an entirely new file on a different filesystem is an
> exception to that.

No, but PANIC'ing during commit is :-(.  Ordinarily the files created by a
failed transaction would be removed during transaction cleanup, but we
did not reach that code.  So these were left behind, but the table's
original files in the original tablespace should be undamaged.

            regards, tom lane



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

Предыдущее
От: M Tarkeshwar Rao
Дата:
Сообщение: RE: 3867653, EMM1 cluster issue on 23rd May--core generated --design feedback
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Undocumented array_val[generate_series(...)] functionality?