Take the 2-minute tour ×
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. It's 100% free, no registration required.

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.

/Peter

share|improve this question

migrated from stackoverflow.com May 5 '13 at 18:04

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

1  
Look at the 8. point at postgresql.org/docs/9.2/static/… or the beginning paragraph of postgresql.org/docs/9.2/static/warm-standby.html –  dezso May 6 '13 at 11:09
add comment

1 Answer 1

you should be able to use "pg_standby". http://www.postgresql.org/docs/current/static/pgstandby.html

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
add comment

Your Answer

 
discard

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.