From 8009577a94c7bcb59c32847d1d4c9298d6891174 Mon Sep 17 00:00:00 2001 From: Ronald Farrer Date: Wed, 29 Jan 2020 10:32:14 -0800 Subject: [PATCH] Added comand line tool to quickly and easily get the PostgreSQL version for each supported release. --- postgresql/tools/checkpgversion | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 postgresql/tools/checkpgversion diff --git a/postgresql/tools/checkpgversion b/postgresql/tools/checkpgversion new file mode 100755 index 0000000..ef4c335 --- /dev/null +++ b/postgresql/tools/checkpgversion @@ -0,0 +1,4 @@ +#!/bin/bash + +echo -e "\n\n\nThese are the currently supported versions of PostgreSQL:" ; wget -q -O - https://www.postgresql.org/versions.rss | sed '/unsupported/,$d' | sed '$ d' | grep -v versions | grep link | sed 's/.*//' +