Add pgpoolAdmin 1.0.0, web-based administration tool for pgpool-II.

This commit is contained in:
Jun Kuriyama
2007-04-16 09:50:41 +00:00
parent 799a754e55
commit e726fd3e7c
7 changed files with 295 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- common.php.orig Thu Apr 12 20:13:37 2007
+++ common.php Thu Apr 12 20:13:55 2007
@@ -233,7 +233,7 @@
if($backendHostName != '') {
$conStr = "dbname=$healthCheckDb user=$healthCheckUser host=$backendHostName port=$backendPort" ;
} else {
- $conStr = "dbname=$healthCheckDb port=$backendPort" ;
+ $conStr = "dbname=$healthCheckDb user=$healthCheckUser port=$backendPort" ;
}
$conn = @pg_connect($conStr);

View File

@@ -0,0 +1,12 @@
--- templates/status.tpl.orig Tue Apr 10 18:48:12 2007
+++ templates/status.tpl Tue Apr 10 19:58:35 2007
@@ -183,7 +183,8 @@
{/if}
</p>
{else}
-{$message.strStopPgpool|escape}
+ <p>{$message.strStopPgpool|escape}</p>
+ <div id="status"></div>
{/if}
<h2>{$message.strPgpool|escape}</h2>
{if $pgpoolIsActive == false}