[freeside-commits] branch FREESIDE_4_BRANCH updated. 3b31b28c5babb7858f3c03177ecea1585ffd9f8a

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


The branch, FREESIDE_4_BRANCH has been updated
       via  3b31b28c5babb7858f3c03177ecea1585ffd9f8a (commit)
      from  ddd18808f81fe695ac854e8ef54fe88635ec6d3b (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 3b31b28c5babb7858f3c03177ecea1585ffd9f8a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Apr 15 11:31:43 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