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've seen several sites claim that Postgres is installed by default for OSX 10.7 and above and I see there's a psql command in /usr/bin/, but there doesn't seem to be a pg_ctl anywhere.

So is the default install of Postgres something that I can actually develop against or is it just there for OSX itself to use? I just don't want to install an extra version of Postgres and screw something up.

share|improve this question
    
sooooooooooooo ... what does running psql do? –  swasheck Nov 7 '12 at 21:17
    
psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"? –  Gregory Bell Nov 7 '12 at 21:32

1 Answer 1

up vote 1 down vote accepted

Well, the fact that you have psql (the client) installed, usually means that you have the PostgreSQL server installed as well. However, it does not mean that the server is running.

And, more importantly, OSX is an exception:

PostgreSQL is the default database on Mac OS X Server as of version 10.7. The standard version of Mac OS X includes only the PostgreSQL commandline client utilities.

(from the documentation)

share|improve this answer

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.