Easy way to corrupt a standby database - Mailing list pgsql-general

From Chris Travers
Subject Easy way to corrupt a standby database
Date
Msg-id CAKt_Zfu=-DCG0KZ0mmMyd17OPU4b3X9u0zYKoL52mya47re8HQ@mail.gmail.com
Whole thread Raw
List pgsql-general
Step one:  Set up streaming replication
Step two:  Promote replica to full database
Step three:  Set up the database as a replica again

Now I understand this is well known but it is pretty easy to do.

What I am wondering is whether there is an easy way to prevent this from occurring in the future via software checks or whether it is one of those things where the nature of the problem makes it hard to solve.

Best Wishes,
Chris Travers

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Client encoding not the same as the db encoding
Next
From: Tom Lane
Date:
Subject: Re: Client encoding not the same as the db encoding