Em 26/12/2017 12:25, Pavel Stehule escreveu:
Any tips to make database server don't start if corrupt? If I can change the startup script to make some checks before effectively starting the database, what would be the recommendations? One that seems obvious to me are empty data files (something like "find -size 0 $PG_DATA/base")... But I'm sure that more experienced PostgreSQL DBA would have more tests to check before startup. Thanks, Edson |