aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-09-11 22:02:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-09-11 22:02:58 -0400
commit64e2b29bdea0861d6b7509653a676ccc9261bfbb (patch)
treeef42247df6a2a3d4b6c7eb5ff912640dc909299c /src/backend/executor/execParallel.c
parentbd75335a83bf0564d6d256d1b78499a5ea489d74 (diff)
downloadpostgresql-64e2b29bdea0861d6b7509653a676ccc9261bfbb.tar.gz
postgresql-64e2b29bdea0861d6b7509653a676ccc9261bfbb.zip
Fix RecursiveCopy.pm to cope with disappearing files.
When copying from an active database tree, it's possible for files to be deleted after we see them in a readdir() scan but before we can open them. (Once we've got a file open, we don't expect any further errors from it getting unlinked, though.) Tweak RecursiveCopy so it can cope with this case, so as to avoid irreproducible test failures. Back-patch to 9.6 where this code was added. In v10 and HEAD, also remove unused "use RecursiveCopy" in one recovery test script. Michael Paquier and Tom Lane Discussion: https://postgr.es/m/24621.1504924323@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions