aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-06-28 21:35:51 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-06-28 21:35:51 +0300
commitb36805f3c54fe0e50e58bb9e6dad66daca46fbf6 (patch)
tree9711e7c77ab436e8e0edfb559bdb047f926ce3aa /src/tutorial/advanced.source
parentcb2acb1081e13b4b27a76c6b5311115528e49c59 (diff)
downloadpostgresql-b36805f3c54fe0e50e58bb9e6dad66daca46fbf6.tar.gz
postgresql-b36805f3c54fe0e50e58bb9e6dad66daca46fbf6.zip
Don't choke on files that are removed while pg_rewind runs.
If a file is removed from the source server, while pg_rewind is running, the invocation of pg_read_binary_file() will fail. Use the just-added missing_ok option to that function, to have it return NULL instead, and handle that gracefully. And similarly for pg_ls_dir and pg_stat_file. Reported by Fujii Masao, fix by Michael Paquier.
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions