<div dir="ltr"><div>Just perfect!<br><br></div>Thanks a lot for this really fast resolution.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/14 Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">&gt;&gt; Hello all.<br>
&gt;&gt;<br>
&gt;&gt; I tried Pgpool-II 3.2.4 and it seems that the pgpool_regclass is now<br>
&gt;&gt; mandatory?<br>
&gt;&gt; Indeed pgpool have degenerated a node just after I put the 3.2.4 version in<br>
&gt;&gt; production; here is the logs:<br>
&gt;&gt;<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10714]: connection received: host=192.0.0.7<br>
&gt;&gt; port=36766<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10714]: do_query: error message from<br>
&gt;&gt; backend function &quot;pgpool_regclass(cstring)&quot; does not exist<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10714]: do_query: error message from<br>
&gt;&gt; backend current transaction is aborted, commands ignored until end of<br>
&gt;&gt; transaction block<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10714]: do_query: error message from<br>
&gt;&gt; backend current transaction is aborted, commands ignored until end of<br>
&gt;&gt; transaction block<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10714]: pool_send_and_wait: Error or notice<br>
&gt;&gt; message from backend: : DB node id: 0 backend pid: 10736 statement: INSERT<br>
&gt;&gt; INTO blablabla; message: current transaction is aborted, commands ignored<br>
&gt;&gt; until end of transaction block<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10714]: read_kind_from_backend: 1 th kind C<br>
&gt;&gt; does not match with master or majority connection kind E<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10714]: kind mismatch among backends.<br>
&gt;&gt; Possible last query was: &quot;INSERT INTO blablabla;&quot; kind details are: 0[E:<br>
&gt;&gt; current transaction is aborted, commands ignored until end of transaction<br>
&gt;&gt; block] 1[C]<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10714]: degenerate_backend_set: 1 fail over<br>
&gt;&gt; request from pid 10714<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10169]: starting degeneration. shutdown<br>
&gt;&gt; host 192.0.0.19(5432)<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10169]: Restart all children<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10169]: execute command: sudo<br>
&gt;&gt; /usr/bin/block_failed_db 1 &amp;<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10169]: failover: set new primary node: -1<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10169]: failover: set new master node: 0<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10169]: failover done. shutdown host<br>
&gt;&gt; 192.0.0.19(5432)<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10316]: worker process received restart<br>
&gt;&gt; request<br>
&gt;&gt; May 13 09:55:00 node1 pgpool-II[10756]: connection received:<br>
&gt;&gt; host=192.0.0.117 port=54452<br>
&gt;&gt;<br>
&gt;&gt; I never added the table to my databases before (even I know that it&#39;s<br>
&gt;&gt; &quot;strongly recommended&quot; in the documentation) and I&#39;m using PgPool since<br>
&gt;&gt; several years now.<br>
&gt;&gt; According to releases notes I guess this is related to the changes about<br>
&gt;&gt; pool_has_pgpool_regclass.<br>
&gt;&gt;<br>
&gt;&gt; So my question is: does I really need to add the pgpool_regclass in my<br>
&gt;&gt; databases or it&#39;s a side effect of the 3.4.8 which could be corrected in<br>
&gt;&gt; the future?<br>
&gt;<br>
&gt; No, it&#39;s not intentional that pgpool-II 3.2.4 requires<br>
&gt; pgpool_regclass() (if it is so). Will look into this.<br>
<br>
</div></div>It turned out that it&#39;s a bug with 3.2.4. Attached patch should fix<br>
the problem. Please try it.<br>
<div class="HOEnZb"><div class="h5">--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
</div></div></blockquote></div><br></div>