Hi all, sometimes and for unknown reason the db deployment of postgres fails to restart due to the postmaster.pid file locked.
We found a bad but working solution described above.
Error: pg_ctl: the PID file "/var/lib/pgsql/data/userdata/postmaster.pid" is empty
- Debug the DB pod in terminal
 rm /var/lib/pgsql/data/userdata/postmaster.pid
Error: pg_ctl: could not open PID file "/var/lib/pgsql/data/userdata/postmaster.pid": Transport endpoint is not connected
- Debug the DB pod in terminal
 cd /var/lib/pgsql/datacp -rav userdata userdata_newmv userdata userdata_oldmv userdata_new userdata