Getting the PostgreSQL version

Published on 2024-01-10 • Modified on 2024-01-13

This snippet shows how to get the PostgreSQL version. Yes, this is as simple as this. Note that this is the exact same query with MySQL or MariaDB.


SELECT version();

 More on Stackoverflow  Random snippet

  Work with me!