Add --ignore-rsync-warning command line option

This fix the rsync return code in case there are vanished files.

Common situation are DROPed tables and TEMPorary object deletion and
are handled by PostgreSQL.
But as it may exist situation where an external process delete files in
the PGDATA the flag is off by default.

XXX 2 items :

 * is -I a good choice ? maybe we need to prevent future --ignore-foo and
   add something like : --ignore=rsync_warning -I rsync_warning
 * the warning message is not enough explicit with the risk involved by
   --force usage
This commit is contained in:
Cédric Villemain
2011-03-28 16:26:48 +02:00
committed by Jaime Casanova
parent 1bd8a703c8
commit 14e49d41c2
3 changed files with 33 additions and 1 deletions

View File

@@ -31,3 +31,5 @@
1.1.0 2011-03-09
Make options -U, -R and -p not mandatory (Jaime)
X.X.X 2011-XX-XX
Add --ignore-rsync-warning (Cédric)