I did
pgsqld stop
and the command line was like
Stopping PostgreSql:
and I have waited for seconds, and I pressed ctrl+C to cancel it, because I just thought something is going wrong.
and I tried it again, then I saw the message like
pg_ctl: server does not shut down
and I checked the status
pgsqld status
// pg_ctl: server is running (PID: XXXXX)
In short, it seems the database is still running, and I cant shut down, BUT my service is dead now... please help me to shut down and start again.
++ when I tried to login to the pgsql server like
psql -U postgres
// FATAL: the database system is shutting down...