PostgreSQL: fix a bug in init.d script

Without this change the return code of 'status' is wrong.
Changes.md: Add PostgreSQL bugfix of init.d script

Without this change the return code of 'status' is wrong.

[ci skip]