Sample Header Ad - 728x90

How to simulate postgresql recovery mode?

1 vote
2 answers
6784 views
I would like to simulate putting postgresql into "recovery mode". Few times i have situation where postgresql puted himself into recovery mode. In logs i had: Oct 18 06:37:35 xx postgres: [19-1] 2014-10-18 06:37:35.441 CEST|5738|xx|yy|FATAL: the database system is in recovery mode It was caused by oom which killed one of process. But when i try to simulate it in test environment - postgresql restarts. How to prevent postgresql from restart and let him stay in recovery mode?
Asked by undefine (113 rep)
Oct 20, 2014, 07:54 AM
Last activity: Oct 20, 2014, 03:49 PM