Re: Index file got removed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index file got removed
Дата
Msg-id 23523.1479317197@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Index file got removed  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Index file got removed  (Julien Rouhaud <julien.rouhaud@dalibo.com>)
Список pgsql-bugs
Michael Paquier <michael.paquier@gmail.com> writes:
> On Wed, Nov 16, 2016 at 3:16 AM, sudalai <sudalait2@gmail.com> wrote:
>> I am creating a table test and index for that table on  default tablespace.
>> Then i'm changing default_tablespace to some other tablespace.
>> After that altering one of the index column.
>> This alter operation moves the index to new default_tablespace, but index
>> file is missing in new tablespace.

> I am just digging into it, instinctively that would be something in
> tablecmds.c..

I'm betting that where it reconstructs textual commands to create the new
indexes, it's forgotten to do anything about tablespaces.

            regards, tom lane

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Index file got removed
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #14423: Fail to connect to DB