summaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-11-03 13:23:37 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-11-03 13:25:29 -0300
commit33e6c34c32677a168bee4bc6c335aa8d73211a56 (patch)
treed9c10c05800aaac9f109269478588681c2c11259 /src/backend/executor
parent0e88ba1fe1e02086e718982a86c94c3c366c9d62 (diff)
Fix tablespace handling for partitioned indexes
When creating partitioned indexes, the tablespace was not being saved for the parent index. This meant that subsequently created partitions would not use the right tablespace for their indexes. ALTER INDEX SET TABLESPACE and ALTER INDEX ALL IN TABLESPACE raised errors when tried; fix them too. This requires bespoke code for ATExecCmd() that applies to the special case when the tablespace move is just a catalog change. Discussion: https://postgr.es/m/20181102003138.uxpaca6qfxzskepi@alvherre.pgsql
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions