

# -U is the username (it will appear in the \l command) # -h is the name of the machine where the server is running. This worked to connect to Postgres on DigitalOcean On Windows it might look like C:\Program Files\PostgreSQL> but Windows prompts are also configurable. Prompts are configurable so it may well not look like this. The $ starting a command line in the examples below represents your operating system prompt.

Sending your feedback to shows how to do the following at the psql prompt: If you have any complaints or suggestions please let me know by Well written and thorough, but frankly, I didn’t know where to start reading. The PostgreSQL documentation is incredibly View on GitHub Pages or directly on GitHub What database administration tasks, but aren’t familiar with how to I assume you’re familiar with the command line and have a rough idea about Quick reference for the absolute least you need to know about psql. Uses psql and you want to learn the absolute minimum to Now what? I assume you’ve been given a task that

Postgres psql command line tutorial and cheat sheet
