[freeside-commits] branch FREESIDE_3_BRANCH updated. 7b073db39252d65376ba6053eb4aaddcf8e9c637

Ivan Kohler ivan at freeside.biz
Fri Aug 20 12:59:27 PDT 2021


The branch, FREESIDE_3_BRANCH has been updated
       via  7b073db39252d65376ba6053eb4aaddcf8e9c637 (commit)
      from  56158181a4c54eced33749fd4389724e792484cd (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 7b073db39252d65376ba6053eb4aaddcf8e9c637
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