projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
just the relevant Pg info
[freeside.git]
/
httemplate
/
view
/
Status.html
diff --git
a/httemplate/view/Status.html
b/httemplate/view/Status.html
index
dbe08b5
..
f81c95d
100644
(file)
--- 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()');
$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;
}
$db_ver = $1;
}