<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>Hi all,</div>
<div><br>
</div>
<div>after we updated pgpoolAdmin from version 3.6.1-1pgdg.rhel7 to 3.6.2-1pgdg.rhel7 via the repository, the configuration was wiped.&nbsp;</div>
<div><br>
</div>
<div>Is this the intended behaviour? If not, maybe the configuration file should not be overwritten if it already exists.</div>
<div><br>
</div>
<div>Besides, in install.php I had to change the line</div>
<div><br>
</div>
<div><code class="php keyword" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; font-weight: bold !important; color: rgb(51, 102, 153) !important; background-position: 0px center;">if</code><span style="color: rgb(51, 51, 51); font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2;">&nbsp;</span><code class="php plain" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(0, 0, 0) !important; background-position: 0px center;">(</code><code class="php functions" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(255, 20, 147) !important; background-position: 0px center;">ereg</code><code class="php plain" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(0, 0, 0) !important; background-position: 0px center;">(</code><code class="php string" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(0, 51, 102) !important; background-position: 0px center;">'^[^\.]'</code><code class="php plain" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(0, 0, 0) !important; background-position: 0px center;">,&nbsp;</code><code class="php variable" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(170, 119, 0) !important; background-position: 0px center;">$file_name</code><code class="php plain" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(0, 0, 0) !important; background-position: 0px center;">))
 {</code></div>
<div><br>
</div>
<div>to</div>
<div><br>
</div>
<div><code class="php keyword" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; font-weight: bold !important; color: rgb(51, 102, 153) !important; background-position: 0px center;">if</code><span style="color: rgb(51, 51, 51); font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; font-size: 14px; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2;">&nbsp;</span><code class="php plain" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(0, 0, 0) !important; background-position: 0px center;">(preg_match(</code><code class="php string" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(0, 51, 102) !important; background-position: 0px center;">'/^[^\.]/'</code><code class="php plain" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(0, 0, 0) !important; background-position: 0px center;">,&nbsp;</code><code class="php variable" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(170, 119, 0) !important; background-position: 0px center;">$file_name</code><code class="php plain" style="font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border: 0px; bottom: auto; float: none; height: auto; left: auto; line-height: 20px; outline: 0px; overflow: visible; padding: 0px; position: static; right: auto; top: auto; vertical-align: baseline; width: auto; box-sizing: content-box; font-size: 14px; min-height: inherit; font-variant-ligatures: normal; orphans: 2; white-space: nowrap; widows: 2; color: rgb(0, 0, 0) !important; background-position: 0px center;">))
 {</code></div>
<div><br>
</div>
<div>to make it work with PHP 7.</div>
<div><br>
</div>
<div>Since preg_match is available since PHP 4 and ereg is deprecated as of PHP 5.3.0, this should be changed.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Thomas</div>
<div><span>
<pre>-- <br></pre>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<b><span style="font-size: 12pt; color: rgb(38, 38, 38);">NeosIT GmbH<o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: gray;">Wir schaffen IT, die die Welt ein Stück einfacher macht.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<b><span style="font-size: 12pt; color: rgb(127, 127, 127);"><o:p>&nbsp;</o:p></span></b></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: rgb(127, 127, 127);">Schachtweg 1</span><span style="color: rgb(200, 231, 168);"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: rgb(127, 127, 127);">38440 Wolfsburg<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: rgb(127, 127, 127);"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: rgb(127, 127, 127);">Tel. &#43;49 5361 83494-23<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: rgb(127, 127, 127);">Fax &#43;49 5361 83494-94</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: gray;"><a href="mailto:christoph.steindorff@neos-it.de" style="color: purple;"><span style="color: gray;">mailto:thomas.hoell@neos-it.de</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: gray;"><a href="http://www.neos-it.de/" style="color: purple;"><span style="color: gray;">http://www.neos-it.de/</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: gray;"><a href="http://www.facebook.com/neositgmbh" style="color: purple;"><span style="color: gray;">http://www.facebook.com/neositgmbh</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: rgb(127, 127, 127);"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: rgb(127, 127, 127);">Handelsregister: Amtsgericht Braunschweig, HRB 203557<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-family: Calibri, sans-serif; color: rgb(0, 0, 0);">
<span style="color: rgb(127, 127, 127);">Geschäftsführer: Sebastian Schier</span></p>
</span></div>
</body>
</html>