Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I am trying to tune my local pg running from the Heroku Postgress App.

I am seeing strange errors in the OSX console whenever I change some of the internal settings:

 PM Postgres[78709]: Could not connect the action selectPostgresStatus: to target of class AppDelegate

In the above case, setting wal_buffers to any value other than the default in the conf results in PG being inaccessible.

Other config settings have a similar effect.

Is there a trick to configuring Postgres.app?

share|improve this question
add comment

migrated from stackoverflow.com Nov 7 '12 at 12:29

This question came from our site for professional and enthusiast programmers.

1 Answer

This is probably a kernel resources issue. Check the PostgreSQL log files to see for sure. They should be in the pg_log directory, alongside postgresql.conf.

The PostgreSQL documentation on kernel resources has a section on increasing shared memory limits for Mac OS X.

Note that increasing some settings in postgresql.conf also requires you to increase shared_buffers. This is usually documented in the info about that configuration option on the PostgreSQL site, and you'll be told in the PostgreSQL logs if you need to increase shared_buffers.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.