I uninstalled Postgres by following this question.
Now when I type sudo service postgresql status, it gives the following result
postgresql.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Jan 15 12:02:37 induP systemd[1]: Starting PostgreSQL RDBMS...
Jan 15 12:02:37 induP systemd[1]: Started PostgreSQL RDBMS.
Jan 15 16:58:50 induP systemd[1]: Stopped PostgreSQL RDBMS.
Jan 15 16:58:57 induP systemd[1]: Stopped PostgreSQL RDBMS.
What is the problem?
pkill -9 postgres, butps -ef | grep postgresstill gives result asindu 15184 8653 0 18:01 pts/2 00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn postgres– Indu Pillai Jan 15 '17 at 13:02