2ndQuadrant/repmgr — pull request #30 by skehlet (2014-06-19 23:35:59+00:00)
Title: Fix witness' repl_monitor data inserts and copying master's configuratio...

Don't overwrite `res` when copying the configuration from the master, this allows repmgrd to start properly in witness mode on witness nodes.

Adjust `INSERT` statement to have correct number of fields so it works, in case `--monitoring-history` is being used.