http://postgresapp.com/ https://github.com/mattt/PostgresApp
Postgres.app is the easiest way to get started with PostgreSQL on the Mac. Open the app, and you have a PostgreSQL server ready and awaiting new connections. Close the app, and the server shuts down.
Postgres.app will be distributed through the Mac App Store, with a separate build containing the latest PostgreSQL beta available for direct download from the website.
Thanks to the developers who put the app together.
Done. How is this useful?
Now I have 2 options. I can continue googling this error and trying all the random solutions (fyi, none of them worked, and I spent a solid 2 hours trying all of them) or I can install postgresql.app and get back to doing actual work. I chose #2.
We saw that many developers were using SQLite (or MySQL) on their local machines, but Postgres on Heroku. This led to frustrating and hard to diagnose bugs and behaviors in their apps. Our hypothesis is that easier local install will lead to more widespread usage for the technology.
Let me try to articulate my point, but I could probably use some help:
I suspect that the sort of developers who were writing apps and using SQLite locally but deploying with Postgres were the sort of developers whom will still use shaky and poor development and deployment practices regardless of whether or not Postgres is available to them locally.
Orthogonally, I think that the kinds of developers who will actually take the time to follow best development and deployment practices probably wouldn't want to use an app like this - not because it isn't a nice and helpful app, but because they probably want to install the full always-on server bundle via 'brew'.
That's my guess anyway. Does this mean the app was a bad idea? No, definitely not. But I don't personally expect a huge uptick in Heroku deployment quality because of it. At least it definitely won't be for lack of trying!
No doubt this app will appeal to the more casual developers. When the low-end of Dell is a 4-core x86-64 with more memory than most people will ever need, most non-casual developers who need to write code specific to a given database will have it starting up on boot.
Even uses MacPort's pre-built binary packages, so I don't have to wait for the compile.
The application GUI is still useful for some people that don't otherwise need MacPorts or homebrew.
Anyhow, start the app, open a psql shell with /Applications/Postgres.app/Contents/MacOS/bin/psql in a terminal window, and you get a session. Since (I think) the app is intended only for development use, I'm not sure if they intend for you to change those defaults. That's not to say that you shouldn't but just that the app is meant to be (nearly) zero conf. (The documentation suggests adding Applications/Postgres.app/Contents/MacOS/bin to $PATH, which is probably a good idea if you will use the command line tools often.)
So n other words, since they didn't bother telling us the user/password, this app is useless. Better off using MacPorts.
I use it a lot, and have nothing but praise for it.
I'm still holding out for Postgres and Sqlite support in Sequel Pro since that tool has a great UI and tons of nifty features.
"Induction supports PostgreSQL, MySQL, SQLite, Redis, and MongoDB out-of-the-box"
A bit uglier but if you need to support quite a few databases maybe Razor is another good alternative. I've used it for years. It is not open source though.
It works on Windows, OS X and Linux, connects to almost any RDBMS in existence, easily customizable and has tabbed results interface in addition to many other features.
All for $60-70. Easily worth the money, you can get a full trial for 30 days to see if it works for you.
I do like having macports (or homebrew, I guess) on the mac for tools like mutt, curl, wget, nmap, etc., but I'd prefer to run a whole virtual front end server talking to a virtual db server and use local clients on the mac to connect.
(I really wish I had more than 4GB RAM in my Air, though, but don't want to replace this one so soon)
If your app is at the deployment to production stage, then I would strongly recommend using the same database as will be used in production. This quote isn't actually saying what proportion of developers don't do that, though.
I'm sure anyone working through Michael Hartl's Rails Tutorial right now and trying to do the optional Postgres configuration is also pretty excited at the time savings.