thanks, i&#39;ll try it.<br><br><div class="gmail_quote">On Tue, Aug 14, 2012 at 12:04 PM, Nozomi Anzai <span dir="ltr">&lt;<a href="mailto:anzai@sraoss.co.jp" target="_blank">anzai@sraoss.co.jp</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I fixed this bug. Could you try again ?<br>
I tested by pgbench -M extended and a simple Java program.<br>
<br>
<a href="http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=e2a868905c99f8bc697a67e5790fd48fafe1cae2" target="_blank">http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=e2a868905c99f8bc697a67e5790fd48fafe1cae2</a><br>

<div class="HOEnZb"><div class="h5"><br>
<br>
&gt; Thanks for the report. I reproduced it with &quot;pgbench -S -M extended&quot;.<br>
&gt; I&#39;m fixing the bug soon.<br>
&gt;<br>
&gt;<br>
&gt; &gt; It seems as if pgpool does not pass through bind and execute steps of<br>
&gt; &gt; prepared statements anymore?<br>
&gt; &gt;<br>
&gt; &gt; i does think so, i can tell you from my debug log here :<br>
&gt; &gt;<br>
&gt; &gt; 2012-08-04 08:21:49 ERROR: pid 8897: Bind: cannot get parse message &quot;&quot;<br>
&gt; &gt; 2012-08-04 08:21:49 LOG:   pid 8897: do_child: exits with status 1 due to<br>
&gt; &gt; error<br>
&gt; &gt;<br>
&gt; &gt; Karsten Düsterloh wrote :<br>
&gt; &gt; We were using pgpool-II 2.3.3 before<br>
&gt; &gt;<br>
&gt; &gt; does it work on production environment for Jabber server &quot;openfire&quot;, which<br>
&gt; &gt; is written in Java ?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Aug 7, 2012 at 1:31 PM, Karsten Düsterloh<br>
&gt; &gt; &lt;<a href="mailto:pgpool-general-ml@tal.de">pgpool-general-ml@tal.de</a>&gt;wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Hi!<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I think we experience the same problem.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Soni Maula Harriz wrote:<br>
&gt; &gt; &gt; &gt; we are using pgpool-II 3.2.0 with replication mode and load balancing<br>
&gt; &gt; &gt; &gt; OS : Centos 6 (Pgpool and postgresql 8.4.9), Ubuntu (Postgresql 8.4.11)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; We&#39;re using pgpool-II 3.2.0 with replication mode and load balancing<br>
&gt; &gt; &gt; under Debian 5 with Postgresql 8.3.16 servers as backends.<br>
&gt; &gt; &gt; (We were using pgpool-II 2.3.3 before.)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; application using JDBC 4<br>
&gt; &gt; &gt; &gt; we have a problem : the application cannot connect to the database<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; We&#39;re using the Jabber server &quot;openfire&quot;, which is written in Java and<br>
&gt; &gt; &gt; indeed using JDBC (and proxool) for its database connection.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; replication_mode = on<br>
&gt; &gt; &gt; &gt; insert_lock = on<br>
&gt; &gt; &gt; &gt; replicate_select = off<br>
&gt; &gt; &gt; &gt; insert_lock = on<br>
&gt; &gt; &gt; &gt; replication_stop_on_mismatch = on<br>
&gt; &gt; &gt; &gt; failover_if_affected_tuples_mismatch = on<br>
&gt; &gt; &gt; &gt; load_balance_mode = on<br>
&gt; &gt; &gt; &gt; ignore_leading_white_space = on<br>
&gt; &gt; &gt; &gt; white_function_list = &#39;&#39;<br>
&gt; &gt; &gt; &gt; black_function_list = &#39;nextval,setval&#39;<br>
&gt; &gt; &gt; &gt; fail_over_on_backend_error = on<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Same here, remainder is usually set to default values.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; We can log into the database using psql with the openfire database<br>
&gt; &gt; &gt; credentials just fine, but openfire can&#39;t.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I&#39;ve logged two startups of openfire in *postgresql*, one against pgpool<br>
&gt; &gt; &gt; and failing and one against one the postgresql node directly and working.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Failure via pgpool:<br>
&gt; &gt; &gt; &gt; 2012-08-07 08:08:01.798 CEST [17977] LOG:  connection received: host=xxx<br>
&gt; &gt; &gt; port=46636<br>
&gt; &gt; &gt; &gt; 2012-08-07 08:08:01.798 CEST [17978] LOG:  connection received: host=xxx<br>
&gt; &gt; &gt; port=46637<br>
&gt; &gt; &gt; &gt; 2012-08-07 08:08:01.798 CEST [17977] LOG:  connection authorized:<br>
&gt; &gt; &gt; user=jabber database=jabber<br>
&gt; &gt; &gt; &gt; 2012-08-07 08:08:01.798 CEST [17978] LOG:  connection authorized:<br>
&gt; &gt; &gt; user=jabber database=jabber<br>
&gt; &gt; &gt; &gt; 2012-08-07 08:08:01.833 CEST [17978] LOG:  duration: 0.183 ms  parse<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SHOW TRANSACTION ISOLATION LEVEL<br>
&gt; &gt; &gt; &gt; 2012-08-07 08:08:01.834 CEST [17978] LOG:  disconnection: session time:<br>
&gt; &gt; &gt; 0:00:00.035 user=jabber database=jabber host=xxx port=46637<br>
&gt; &gt; &gt; &gt; 2012-08-07 08:08:01.841 CEST [17977] LOG:  duration: 0.294 ms  parse<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SELECT 1<br>
&gt; &gt; &gt; &gt; 2012-08-07 08:08:01.843 CEST [17977] LOG:  disconnection: session time:<br>
&gt; &gt; &gt; 0:00:00.045 user=jabber database=jabber host=xxx port=46636<br>
&gt; &gt; &gt; (Plus like 90 more tries of the same structure before openfire gives up.)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Working using postgresql directly:<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.873 CEST [15940] LOG:  connection received: host=yyy<br>
&gt; &gt; &gt; port=36270<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.873 CEST [15941] LOG:  connection received: host=yyy<br>
&gt; &gt; &gt; port=36271<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.876 CEST [15941] LOG:  connection authorized:<br>
&gt; &gt; &gt; user=jabber database=jabber<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.876 CEST [15940] LOG:  connection authorized:<br>
&gt; &gt; &gt; user=jabber database=jabber<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.910 CEST [15940] LOG:  duration: 0.206 ms  parse<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SHOW TRANSACTION ISOLATION LEVEL<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.910 CEST [15940] LOG:  duration: 0.022 ms  bind<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SHOW TRANSACTION ISOLATION LEVEL<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.910 CEST [15940] LOG:  duration: 0.042 ms  execute<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SHOW TRANSACTION ISOLATION LEVEL<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.924 CEST [15940] LOG:  duration: 0.071 ms  parse<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ<br>
&gt; &gt; &gt; COMMITTED<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.924 CEST [15940] LOG:  duration: 0.007 ms  bind<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ<br>
&gt; &gt; &gt; COMMITTED<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.924 CEST [15940] LOG:  duration: 0.009 ms  execute<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SET SESSION CHARACTERISTICS AS TRANSACTION ISOLATION LEVEL READ<br>
&gt; &gt; &gt; COMMITTED<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.928 CEST [15941] LOG:  duration: 0.257 ms  parse<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SELECT 1<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.928 CEST [15941] LOG:  duration: 0.052 ms  bind<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SELECT 1<br>
&gt; &gt; &gt; &gt; 2012-08-07 07:56:21.928 CEST [15941] LOG:  duration: 0.014 ms  execute<br>
&gt; &gt; &gt; &lt;unnamed&gt;: SELECT 1<br>
&gt; &gt; &gt; (etc. until minimum number of parallel connections are open, then normal<br>
&gt; &gt; &gt; proceedings to read Jabber users, and so on.)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; It seems as if pgpool does not pass through bind and execute steps of<br>
&gt; &gt; &gt; prepared statements anymore?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Regards,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Karsten Düsterloh<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; pgpool-general mailing list<br>
&gt; &gt; &gt; <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
&gt; &gt; &gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Best Regards,<br>
&gt; &gt;<br>
&gt; &gt; Soni Maula Harriz<br>
&gt; &gt; Database Administrator<br>
&gt; &gt; PT. Data Aksara Sangkuriang<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Nozomi Anzai<br>
&gt; SRA OSS, Inc. Japan<br>
&gt; _______________________________________________<br>
&gt; pgpool-general mailing list<br>
&gt; <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
<br>
<br>
--<br>
Nozomi Anzai<br>
SRA OSS, Inc. Japan<br>
_______________________________________________<br>
pgpool-general mailing list<br>
<a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Soni Maula Harriz<br>Database Administrator<br>PT. Data Aksara Sangkuriang<br><br>