Fixes #4455: Add the postgresql-recovery script

Ticket: http://www.rudder-project.org/redmine/issues/4455

To be merged in master