Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a somewhat strange question. Is there a way to manually force PostgreSQL into recovery mode? I've not been able to find aything in the documentation.

I've been working with a script monitoring a postgresql database and need to do some testing.


share|improve this question

migrated from May 5 '13 at 18:04

This question came from our site for professional and enthusiast programmers.

Look at the 8. point at… or the beginning paragraph of – dezso May 6 '13 at 11:09

you should be able to use "pg_standby".

cannot gurantee it as i havent tried it.

share|improve this answer
Thanks, I'll give it a try! – peitur Sep 11 '13 at 14:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.