<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:"Trebuchet MS"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.EmailStyle18
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Answering my own question &#8211; </span>
</p>
<p class="MsoNormal"><span style="color:#1F497D">Use &#8211;D option.</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Jayadevan</span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span></p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt; font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Jayadevan M
<br>
<b>Sent:</b> Monday, May 06, 2013 1:14 PM<br>
<b>To:</b> 'pgpool-general@pgpool.net'<br>
<b>Subject:</b> pgpool and failover</span></p>
</div>
</div>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I am testing pgpool with streaming replication. There is one master and one slave. When I shut down the master, the requests were redirected to the slave. So far so good. I want to test a few more scenarios. Now that I have the primary
 master up, how do I make pgpool send connections to the master? It is still sending all requests to the slave.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt; font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;; color:black">Regards,</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt; font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;; color:black">Jayadevan M</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt; font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;; color:black">Senior Technical Architect - TCC</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt; font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;; color:black">IBS Software Services Private Limited</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt; font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;; color:black">5th Floor/NILA, Technopark Campus, Trivandrum 695 581, Kerala, India</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt; font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;; color:black">Phone: &#43;91- 471-6614352 Mobile: &#43;91 94952 00950</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt; font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;; color:black">Email:
<a href="mailto:Jayadevan.Maymala@ibsplc.com">Jayadevan.Maymala@ibsplc.com</a> <a href="http://www.ibsplc.com/">
www.ibsplc.com</a></span></p>
<p class="MsoNormal">&nbsp;</p>
</div>
</div>
<br>
<br>
DISCLAIMER: <font color="#999999" size="1" face="Tahoma">&quot;The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in
 error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not
 liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect.&quot;</font><br>
<font size="1"></font>
</body>
</html>