###A Quick Guide
Open up the terminal:
Installs Postgresql. This will take a few minutes.
Next:
This logs you into the database as the postgres user. You will then want to create yourself as a user:
Now, at the command prompt under your username, you are able to use createdb and other commands. So, let’s create a quick database and connect to it.
Connect to it:
You will then see a prompt that will look like:
The #
indicates that you are the superuser, which is most likely if you just installed postgres on your local computer.
Let’s run:
This should go into a new screen on your terminal that should look something like this:
Type q
to exit the screen and go back to the #
prompt.
You can run commands from the #
prompt using \
notation and the official documentation on commands can be found here: http://www.postgresql.org/docs/9.3/interactive/app-psql.html
If you want a GUI client: