we still have this error, only this, but it seems doesn&#39;t effect the application&#39;s performance. is it normal ?<br><div class="gmail_quote"><br>Postgresql log :<br><br>2012-07-05 23:40:16 WIT user=postgres db=epayment_report pid=28114 command=PARSE 4ff5b343.6dd2 ERROR:  current transaction is aborted, commands ignored until end of transaction block<br>

2012-07-05 23:40:16 WIT user=postgres db=epayment_report pid=28114 command=PARSE 4ff5b343.6dd2 STATEMENT:  SELECT 1<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Thu, Jul 5, 2012 at 5:23 PM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Recently we have fixed problem with JDBC and unamed statement problem.<br>
Can you try out the lastest snapshot(to be released as 3.1.4) of<br>
pgpool-II 3.1 series? You can get it from:<br>
<a href="http://git.postgresql.org/gitweb/?p=pgpool2.git;a=snapshot;h=7015e9f16d34c4f1d28096753638ca78d3d6a7f6;sf=tgz" target="_blank">http://git.postgresql.org/gitweb/?p=pgpool2.git;a=snapshot;h=7015e9f16d34c4f1d28096753638ca78d3d6a7f6;sf=tgz</a><br>


<br>
Also debug log of pgpool (start pgpool with -d) would be helpfull.<br>
--<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><br>
&gt; we have a problem in implementing pgpool in testing scenario with this<br>
&gt; environment : (Centos 6 x86_64, 2 Postgresql 8.4 nodes, Pgpool-II-3.1.3 in<br>
&gt; replication mode, application with JDBC 4).<br>
&gt;<br>
&gt; Here is the LOG of Pgpool :<br>
&gt;<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24113: DB node id: 0 backend pid: 29898<br>
&gt; statement: Parse: BEGIN<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24113: DB node id: 0 backend pid: 29898<br>
&gt; statement: B message<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24113: DB node id: 0 backend pid: 29898<br>
&gt; statement: Execute: BEGIN<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24113: DB node id: 0 backend pid: 29898<br>
&gt; statement: Parse: select username from client_user , client_user_role where<br>
&gt; client_user.username=&#39;payment1&#39; and<br>
&gt; client_user.password=&#39;5039b3c8ffbdb50a2102bc172ebbf755&#39; and<br>
&gt; (client_user_role.role_name=&#39;PAYMENT&#39; or<br>
&gt; client_user_role.role_name=&#39;SUPERUSER&#39;) and<br>
&gt; client_user.role_id=client_user_role.role_id<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24113: DB node id: 0 backend pid: 29898<br>
&gt; statement: B message<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24113: DB node id: 0 backend pid: 29898<br>
&gt; statement: D message<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24113: DB node id: 0 backend pid: 29898<br>
&gt; statement: Execute: select username from client_user , client_user_role<br>
&gt; where client_user.username=&#39;payment1&#39; and<br>
&gt; client_user.password=&#39;5039b3c8ffbdb50a2102bc172ebbf755&#39; and<br>
&gt; (client_user_role.role_name=&#39;PAYMENT&#39; or<br>
&gt; client_user_role.role_name=&#39;SUPERUSER&#39;) and<br>
&gt; client_user.role_id=client_user_role.role_id<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24086: DB node id: 0 backend pid: 24972<br>
&gt; statement: Parse: select airline , flightnum from flight_plan where true<br>
&gt; order by airline, flightnum<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24086: pool_send_and_wait: Error or notice<br>
&gt; message from backend: : DB node id: 0 backend pid: 24972 statement: select<br>
&gt; airline , flightnum from flight_plan where true order by airline, flightnum<br>
&gt; message: current transaction is aborted, commands ignored until end of<br>
&gt; transaction block<br>
&gt; 2012-07-01 00:00:27 LOG:   pid 24086: Parse: Error or notice message from<br>
&gt; backend: : DB node id: 0 backend pid: 24972 statement: select airline ,<br>
&gt; flightnum from flight_plan where true order by airline, flightnum message:<br>
&gt; current transaction is aborted, commands ignored until end of transaction<br>
&gt; block<br>
&gt;<br>
&gt;<br>
&gt; Here is Log of Postgresql :<br>
&gt;<br>
&gt; 2012-07-01 00:00:27 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=29898 command=BEGIN 4feef1fc.74ca LOG: execute S_1: BEGIN<br>
&gt; 2012-07-01 00:00:27 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=29898 command=SELECT 4feef1fc.74ca LOG: execute &lt;unnamed&gt;: select<br>
&gt; username from client_user,client_user_role where<br>
&gt; client_user.username=&#39;payment1&#39; and<br>
&gt; client_user.password=&#39;5039b3c8ffbdb50a2102bc172ebbf755&#39; and<br>
&gt; (client_user_role.role_name=&#39;PAYMENT&#39; or<br>
&gt; client_user_role.role_name=&#39;SUPERUSER&#39;) and<br>
&gt; client_user.role_id=client_user_role.role_id<br>
&gt; 2012-07-01 00:00:27 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=24972 command=PARSE 4fee8f60.618c ERROR: current transaction is<br>
&gt; aborted, commands ignored until end of transaction block<br>
&gt; 2012-07-01 00:00:27 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=24972 command=PARSE 4fee8f60.618c STATEMENT: select airline , flightnum<br>
&gt; from flight_plan where true order by airline, flightnum<br>
&gt; 2012-07-01 00:00:27 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=24969 command=idle in transaction 4fee8f60.6189 LOG: statement: SELECT<br>
&gt; count(*) FROM pg_catalog.pg_attrdef AS d, pg_catalog.pg_class AS c WHERE<br>
&gt; d.adrelid = c.oid AND d.adsrc ~ &#39;nextval&#39; AND c.oid =<br>
&gt; pgpool_regclass(&#39;message_log&#39;)<br>
&gt; 2012-07-01 00:00:27 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=24969 command=INSERT 4fee8f60.6189 LOG: execute &lt;unnamed&gt;: insert into<br>
&gt; message_log(session_id,message_type,thread_id,client_address,log_time,raw_message)<br>
&gt; values (&#39;7F478482136546E980B00C031AA79AC0&#39;,&#39;client message&#39;,&#39;Handler<br>
&gt; 9&#39;,&#39;192.168.165.3&#39;,&#39;2012-07-01 00:00:27.000889&#39;,&#39;{&quot;header&quot;:<br>
&gt; &quot;id&quot;:1,&quot;address&quot;:&quot;192.168.220.1&quot;,&quot;clientType&quot;:&quot;MULTIPAY&quot;,&quot;messageType&quot;:&quot;ECHO&quot;},&quot;body&quot;<br>
&gt; {&quot;username&quot;:&quot;payment1&quot;,&quot;password&quot;:&quot;payment1&quot;}}&#39;)<br>
&gt; 2012-07-01 00:00:39 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=613 command=SELECT 4fef1fa0.265 LOG: execute &lt;unnamed&gt;: select username<br>
&gt; from<br>
&gt; client_user , client_user_role where client_user.username=&#39;payment1&#39; and<br>
&gt; client_user.password=&#39;5039b3c8ffbdb50a2102bc172ebbf755&#39; and<br>
&gt; client_user_role.role_name=&#39;PAYMENT&#39; or<br>
&gt; client_user_role.role_name=&#39;SUPERUSER&#39;) and<br>
&gt; client_user.role_id=client_user_role.role_id<br>
&gt; 2012-07-01 00:00:39 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=24123 command=BEGIN 4fee7fe7.5e3b LOG: execute S_1: BEGIN 2012-07-01<br>
&gt; 00:00:39 WIT user=postgres db=psc_sub_terminal_not_using_now pid=24123<br>
&gt; command=SELECT 4fee7fe7.5e3b LOG: execute &lt;unnamed&gt;: select airline ,<br>
&gt; flightnum from flight_plan where true order by airline, flightnum<br>
&gt; 2012-07-01 00:00:39 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=24121 command=SELECT 4fee7fe5.5e39 LOG: execute &lt;unnamed&gt;: select<br>
&gt; count(*) as jumlah from client_username_log where client_id = &#39;MULTIPAY-1-&#39;<br>
&gt; 2012-07-01 00:00:39 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=656 command=PARSE 4fef1fc8.290 ERROR: current transaction is aborted,<br>
&gt; commands ignored until end of transaction block<br>
&gt; 2012-07-01 00:00:39 WIT user=postgres db=psc_sub_terminal_not_using_now<br>
&gt; pid=656 command=PARSE 4fef1fc8.290 STATEMENT: update client_username_log<br>
&gt; set client_username=&#39;payment1&#39; where client_id<br>
&gt;<br>
&gt; the sql command often get this ERROR: current transaction is aborted,<br>
&gt; commands ignored until end of transaction block<br>
&gt; this error happens to any query.<br>
&gt; I have tried some things to repair the situation like :<br>
&gt;     set insert_lock on/off (pgpool)<br>
&gt;     set parallel_mode on/off (pgpool)<br>
&gt;     /set on_error_rollback on/off (pgsql)<br>
&gt;     /set on_error_stop on/off (pgsql)<br>
&gt;     setAutoCommit true/false (java application), etc.<br>
&gt; but nothing seems to have an effect.<br>
&gt; if the jdbc goes directly to postgresql, there is no problem.<br>
&gt; and if the query goes directly to pgpool, there is no problem.<br>
&gt; looks like the problem occurs between JDBC and Pgpool.<br>
&gt; any idea to solve this ?<br>
&gt; thanks for the answer.<br>
&gt;<br>
&gt; --<br>
&gt; Best Regards,<br>
&gt;<br>
&gt; Soni Maula Harriz<br>
&gt; Database Administrator<br>
&gt; PT. Data Aksara Sangkuriang<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>
</div></div></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Soni Maula Harriz<br>Database Administrator<br>PT. Data Aksara Sangkuriang<br><br>