Database.Guide

Skip to content

Beginners

  • What is a Database?
  • Database Tutorial

SQL

  • SQL Tutorial
  • SQL Reference
  • SQL Joins Tutorial
  • SQL Transactions Tutorial
  • Basic SQL Queries

Categories

  • Azure SQL Edge (17)
  • Database Concepts (99)
  • Database Tools (72)
  • DBMS (9)
  • DuckDB (152)
  • MariaDB (424)
  • Microsoft Access (17)
  • MongoDB (265)
  • MySQL (602)
  • NoSQL (8)
  • Oracle (301)
  • PostgreSQL (480)
  • Redis (210)
  • SQL (697)
  • SQL Server (1,170)
  • SQLite (299)

How to Check your psql Client Version

Posted on February 24, 2021November 6, 2021 by Ian

Here’s how to find out what version of psql you’re using.

Running the following code returns the psql version:

psql --version

Here’s the result when using version 12.1:

psql (PostgreSQL) 12.1

You can also use a shortened syntax psql -V to return the same result.

psql -V

Result:

psql (PostgreSQL) 12.1
Database Tools how to, psql, show version

About Database.Guide | Privacy Policy