PostgreSQL: Script to find Version and Release Information

In this post, I am sharing basic commands to check the PostgreSQL version information.
PostgreSQL Database Administrator can use this command to find the version number, release version name of PostgreSQL.

During the migration activities, we require to check the numeric version number instead of a full version name.
At that time, we can use below commands to get the numeric version number.

First, Get PostgreSQL Version name:

Get only PostgreSQL Version:

Get PostgreSQL Version Number:

Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.

If you like this post, then please share it with others.
Please follow, I will share my experience towards the success of Database Research and Development Activity.

I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.

More from

Leave a Reply

Be the First to Comment!

Notify of