[freeside-commits] branch master updated. 863494143aec94688b67e8dd423977aa8bca1fed

Ivan Kohler ivan at freeside.biz
Wed Apr 15 11:31:40 PDT 2020


The branch, master has been updated
       via  863494143aec94688b67e8dd423977aa8bca1fed (commit)
      from  fc37cb7bb9120f7c1dc949948875061579ffd043 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 863494143aec94688b67e8dd423977aa8bca1fed
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Apr 15 11:31:39 2020 -0700

    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;
 }
 

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/Status.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list