From: Ivan Kohler Date: Wed, 15 Apr 2020 18:31:43 +0000 (-0700) Subject: just the relevant Pg info X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=3b31b28c5babb7858f3c03177ecea1585ffd9f8a just the relevant Pg info --- diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html index dbe08b5bc..f81c95d8f 100644 --- a/httemplate/view/Status.html +++ b/httemplate/view/Status.html @@ -45,7 +45,7 @@ $db = 'PostgreSQL' if $db =~ /^Pg/; $db = 'MySQL/MariaDB' if $db =~ /^mysql/; my $db_ver = FS::Record->scalar_sql('SELECT VERSION()'); -if ( $db eq 'PostgreSQL' && $db_ver =~ /^\s*PostgreSQL\s+([\w\.]+)\s+on\s+/ ) { +if ( $db eq 'PostgreSQL' && $db_ver =~ /^\s*PostgreSQL\s+([\w\.]+(\s+\([\w\s\.\+\-\:\~]+\))?)\s+on\s+/ ) { $db_ver = $1; }