Greetings,
* Pavel Tide (paveltide(at)gmail(dot)com) wrote:
> Right, but /bin/false will make pgsql to retry the command again and again
> and that will throw warnings as well (AFAIK).
It'll say it's retrying, sure.
> I would like to copy WALs once in every "X" minutes instead of copying them
> continuously.
PG is only going to call the archice command when you've written 16MB of
WAL (unless you also have archive timeout set...).
Maybe you can clarify your use-case as to why you only want to copy them
once every 'X' minutes..?
Thanks,
Stephen