PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
qStudio is a free SQL IDE, it allows running SQL scripts, easy browsing of tables, charting and exporting of results. It works on every operating system, with every database including PostgreSQL.

Setting up a PostgreSQL connection in qStudio

Start PostgreSQL

PostgreSQL is available on AWS Cloud. Simply start a small service in your chosen region. The connection details should be provided, similar to shown:

  • Engine type: PostgreSQL
  • Public access: Yes
  • VPN: With access permitted from our IP address.
PostgreSQL Console

Connecting to a Server

QStudio bundles PostgreSQL drivers. When you first open qStudio click on the menu options Server->Add Server or on the add server button on the toolbar.
Then set the details:

  1. Server Type: Postgres
  2. Host: database-1.ctayqjdfp8vl.eu-west-1.rds.amazonaws.com
    Port: 5432
  3. Username: postgres
    Password: XXXXXXXXXXX
  4. Click Add

Add PostgreSQL Connection

Sending Queries

You can run queries by highlighting selected code and pressing Ctrl + e to run that code. See Keyboard Shortcuts.

CommandShortcut
Run highlighted text Ctrl + e
Run Line Ctrl + Enter

This will update your various results panels, result contains your table (excel export etc. supported), charts are generated based on your data and the console summarizes your recent commands

Run PostgreSQL Select

Well Done!

You have now got qStudio querying your database successfully.

We want to make qStudio the best SQL analysis tool. If you have any problems or want additional features, please post on our github repo.