I have postgresql database that is installed on my macOS system drive via homebrew. The system drive is not so big and database is becoming bigger and bigger. I would like to move it to my big data drive if possible. I've found a manual for Ubuntu but it seems it does not fit my case. Because it says that postgresql.conf located in other directory than database itself. But homebrew's DB located at /usr/local/var/postgres with postgresql.conf in it. So I guess I can't just move /usr/local/var/postgres directory to another place because postgresql.conf will be inaccessible.