4

I forgot how I install postgresql before.
and now I have removed it by following this steps https://stackoverflow.com/a/9240197/12381565 .

But my postgresql user didn't gone from the taskbar, although in my user preference is doesn't have it, so I can't remove it again in the preference.

the screenshot

Maybe I deleted it once, but I forgot about it.

thank you.

Hakim
  • 90
  • 1
  • 11

2 Answers2

5

Try this in terminal:

sudo /usr/bin/dscl . -delete /Users/postgres
sudo /usr/bin/dscl . -delete /Users/_postgres

than reboot mac.

Aidar Chakiev
  • 51
  • 1
  • 4
1

Fixed now.

When I re-check again with pgAdmin4, I see the server with the same name of this user PostgreSQL.
I try to delete it, and now it's gone.

Hakim
  • 90
  • 1
  • 11