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