Ensure PostgreSQL has stopped before removing the PGDATA directory
Ensure PostgreSQL has stopped before removing the PGDATA directory

This could lead to some strange behaviors occurring during PGDATA directory
cleanup, including files remaining and PostgreSQL crashes.

CrunchyData/postgres-operator,CrunchyData/postgres-operator