summaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
authorTom Lane2013-03-26 21:43:19 +0000
committerTom Lane2013-03-26 21:43:19 +0000
commit683abc73dff549e94555d4020dae8d02f32ed78b (patch)
treecbe084adb3f06edaba69a5f6ef90098b3cab1c29 /src/include/miscadmin.h
parent625b237f79ec59369e6083f041649adf4fdc1080 (diff)
Ignore invalid indexes in pg_dump.
Dumping invalid indexes can cause problems at restore time, for example if the reason the index creation failed was because it tried to enforce a uniqueness condition not satisfied by the table's data. Also, if the index creation is in fact still in progress, it seems reasonable to consider it to be an uncommitted DDL change, which pg_dump wouldn't be expected to dump anyway. Back-patch to all active versions, and teach them to ignore invalid indexes in servers back to 8.2, where the concept was introduced. Michael Paquier
Diffstat (limited to 'src/include/miscadmin.h')
0 files changed, 0 insertions, 0 deletions