From: Ivan Kohler Date: Wed, 15 Apr 2020 18:31:39 +0000 (-0700) Subject: just the relevant Pg info X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=863494143aec94688b67e8dd423977aa8bca1fed;hp=fc37cb7bb9120f7c1dc949948875061579ffd043 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; }