projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e522b7d
)
fix pg replication slave display in status
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 4 Jun 2015 03:58:28 +0000
(20:58 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 4 Jun 2015 03:58:28 +0000
(20:58 -0700)
httemplate/view/Status.html
patch
|
blob
|
history
diff --git
a/httemplate/view/Status.html
b/httemplate/view/Status.html
index
f106087
..
eb7df68
100644
(file)
--- a/
httemplate/view/Status.html
+++ b/
httemplate/view/Status.html
@@
-93,7
+93,7
@@
if ( $db eq 'PostgreSQL' ) {
&& FS::Record->scalar_sql('SHOW archive_mode') eq 'on';
my $slave =
&& FS::Record->scalar_sql('SHOW archive_mode') eq 'on';
my $slave =
- FS::Record->scalar_sql('SHOW archive_command') =~ / postgres\@([\w\.\-]): /
+ FS::Record->scalar_sql('SHOW archive_command') =~ / postgres\@([\w\.\-]
+
): /
? $1 : '';
$status{'Replication'} = [
? $1 : '';
$status{'Replication'} = [