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
Call to action
Did you like this post? You can help me back in several ways: (use the "reply" link on the right to comment or to contact me )
- Report any error/typo.
- Report something that could be improved.
- Like and repost!
- Follow me on Bluesky 🦋
- Subscribe to the RSS feed.
- Click on the More on Stackoverflow buttons to make me win "Announcer" badges 🏅.
Thank you for reading! And see you soon on Strangebuzz! 😉