I have a somewhat strange question.

Is there a way to manually force PostgreSQL into recovery mode? I've not been able to find anything in the documentation.

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


1 Answer 1


You should be able to use pg_standby.

I cannot gurantee it, though, as I haven't tried it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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