I just installed Postgres.app on my Mac, and I need to make some specific configuration to server. For example I want to use different port, not 5432.
I found that it have postgresql.conf at ~/Library/Application\ Support/Postgres/var/postgresql.conf, but even if I change value of port = to something other, it listen on 5432 after server restart.
Seems that this postgresql.conf isn't used by Postgress.app. Where it stores server configuration files?
postgresql.conf, runSHOW config_file;while Postgres.app is running. If you are editing the right one: is it changed back when you start Postgres.app? If so, the app probably expects you to change the port via the preferences. If it isn't changed back but is just ignored, maybe the app is overriding the port on the postgres command line; again, check for preferences in Postgres.app.