<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>Hi,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">The issue was resolved when I changed over to pgpool II - 3.3.1.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Thanks,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue',
 Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Anupama.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><br></div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Sunday, February 16, 2014 6:39 PM, Anupama Ramaswamy &lt;anumr_0123@yahoo.com&gt; wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv4682178375"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue',
 Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div><span>I did as you suggested. But no every update to the database fails with</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>"unnamed prepared statement does not exist"</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Here is my setup.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica
 Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I have host db1 running postgresql 9.1 (master)</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>host db2 running postgresql 9.1 (slave)</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Postgres Streaming replication is setup between the 2 servers</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Pgpool is running on a separate host pgp3
 with&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>load_balance_mode = on</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">master_slave_mode = on</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">master_slave_sub_mode = 'stream'</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>replication_mode = off</span></div><div
 style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>connection_cache=off</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I have tried with 3.1.10, 3.2.7 and 3.3.2 all with same result.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br
 clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I have attached my pgpool.conf and the debug logs I get for 3.1.10 and 3.3.2</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Can you please help ?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style:
 normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Is there a minimal working java application (may be a test case ?) I can get that can demonstrate that pgpool works with jdbc drivers / load balancing and postgres streaming replication ?</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>Thanks for your help.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px;
 font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br clear="none"></span></div><div class="yiv4682178375yqt3035831552" id="yiv4682178375yqt12086"><div class="yiv4682178375yahoo_quoted" style="display: block;"> <br clear="none"> <br clear="none"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, February 13, 2014 10:36 AM, Tatsuo Ishii &lt;ishii@postgresql.org&gt; wrote:<br clear="none"> </font> </div>  <div class="yiv4682178375y_msg_container">Recently a bug which might be related to your report was found:<br clear="none"><br clear="none"><a rel="nofollow" shape="rect" target="_blank"
 href="http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=35437fa5eada74e181a7940b4917ea6560a75ade">http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=35437fa5eada74e181a7940b4917ea6560a75ade</a><br clear="none"><br clear="none">Please grab 3.3-stable head and try again.<br clear="none"><br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://git.postgresql.org/gitweb/?p=pgpool2.git;a=snapshot;h=8c065048a32fbcde04735add9db400b01d3d8710;sf=tgz">http://git.postgresql.org/gitweb/?p=pgpool2.git;a=snapshot;h=8c065048a32fbcde04735add9db400b01d3d8710;sf=tgz</a><br clear="none"><br clear="none">Best regards,<br clear="none">--<br clear="none">Tatsuo Ishii<br clear="none">SRA OSS, Inc. Japan<br clear="none">English: <a rel="nofollow" shape="rect" target="_blank" href="http://www.sraoss.co.jp/index_en.php">http://www.sraoss.co.jp/index_en.php</a><br clear="none">Japanese: <a rel="nofollow" shape="rect" target="_blank"
 href="http://www.sraoss.co.jp/">http://www.sraoss.co.jp</a><div class="yiv4682178375yqt0064822605" id="yiv4682178375yqtfd87294"><br clear="none"><br clear="none">&gt;
 Hello,<br clear="none">&gt; <br clear="none">&gt; I have to setup pgpool for load balancing only and it has to work with an web application in Java.<br clear="none">&gt; There are several posts on the net as well as mailing lists regarding the problems with this setup, yet nothing conclusive. All that I have tried so far has only led me to <br clear="none">&gt; <br clear="none">&gt; "unnamed prepared statement does not exist"<br clear="none">&gt; <br clear="none">&gt; So my question is -<br clear="none">&gt; 1) Is there a checklist of things that I need to do to get pgpool load balancing to work with simple JDBC connection with Postgres 9.1 in stream replication / hotstandby mode. <br clear="none">&gt; 2) Is there a anything test case or something that can demonstrate that pgpool indeed works with JDBC in load balancing mode.<br clear="none">&gt; <br clear="none">&gt; I don't need any other capability of pgpool - no connection pool, replication,
 parallel query, nothing at all.<br clear="none">&gt; <br clear="none">&gt; Regards,<br clear="none">&gt; Anupama.<br clear="none"></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div> </div></div></div><br><div class="yqt3035831552" id="yqt17710">_______________________________________________<br clear="none">pgpool-general mailing list<br clear="none"><a shape="rect" ymailto="mailto:pgpool-general@pgpool.net" href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br clear="none"><a shape="rect" href="http://www.pgpool.net/mailman/listinfo/pgpool-general" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>