diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2020-04-15 11:31:43 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2020-04-15 11:31:43 -0700 |
| commit | 3b31b28c5babb7858f3c03177ecea1585ffd9f8a (patch) | |
| tree | 5704bf5e57b87048f7c7d8a2e8eec1a3d8b9071d | |
| parent | ddd18808f81fe695ac854e8ef54fe88635ec6d3b (diff) | |
just the relevant Pg info
| -rw-r--r-- | httemplate/view/Status.html | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
