Aricg/Postgres-streaming-replication-script

why we use in "archive_command" cp with "-i" flag?

Opened this issue · 0 comments

maybe right solution is "-f"
(cp man page)
-f, --force
if an existing destination file cannot be opened, remove it and try again (redundant if the -n option is used)

   -i, --interactive
          prompt before overwrite (overrides a previous -n option)