aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-08-28 19:33:04 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-08-28 19:33:04 -0400
commit8cff4f5348d075e063100071013f00a900c32b0f (patch)
treeba0e9be03ec24715afe646b395f8d3c81c02f93e /contrib/postgres_fdw/postgres_fdw.c
parent42e61c7748eb36b75a05bd0a9a35c370c70a86c8 (diff)
downloadpostgresql-8cff4f5348d075e063100071013f00a900c32b0f.tar.gz
postgresql-8cff4f5348d075e063100071013f00a900c32b0f.zip
Code review for pg_dump's handling of ALTER INDEX ATTACH PARTITION.
Ensure the TOC entry is marked with the correct schema, so that its name is as unique as the index's is. Fix the dependencies: we want dependencies from this TOC entry to the two indexes it depends on, and we don't care (at least not for this purpose) what order the indexes are created in. Also, add dependencies on the indexes' underlying tables. Those might seem pointless given the index dependencies, but they are helpful to cue parallel restore to avoid running the ATTACH PARTITION in parallel with other DDL on the same tables. Discussion: https://postgr.es/m/10817.1535494963@sss.pgh.pa.us
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions