Postgres-streaming-replication-script icon indicating copy to clipboard operation
Postgres-streaming-replication-script copied to clipboard

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

Open Niemi opened this issue 11 years ago • 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)

Niemi avatar Nov 14 '14 09:11 Niemi