I could not start the postgres server and to fix the problem I created a directory usr/local/var/postgres and initialized postgres there (I have macos). After that all my tables from the database disappeared. Is there a way to get them back?
I tried to google this problem, but didn’t find an answer to this question. I also tried to find where my db was initialized before, but could not find it.