<p dir="ltr"></p>
<p dir="ltr">On Nov 15, 2016 3:08 AM, &quot;Felipe Garcia&quot; &lt;<a href="mailto:felipecpg@gmail.com">felipecpg@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I have a pgpool 3.5.4 with memcache enabled, and I use it to connect to Redshift.<br>
&gt;<br>
&gt; I wrote two simple programs, one in Java (JDBC postgresql-9.4.1212.jre6.jar) and another one in Python (using psycopg2 postgres package) that just connects to pgpool, and execute a simple query (eg: select * from customer limit 10;) and I&#39;ve noticed strange and different behaviors. I also ran the queries using the command line tool psql.<br>
&gt;<br>
&gt; 1) Using JDBC with pgpool with caching enabled I get an error<br>
&gt;<br>
&gt; 2016-11-15 10:56:27: pid 31043: FATAL:  Backend throw an error message<br>
&gt;<br>
&gt; 2016-11-15 10:56:27: pid 31043: DETAIL:  Exiting current session because of an error from backend<br>
&gt;<br>
&gt; 2016-11-15 10:56:27: pid 31043: HINT:  BACKEND Error: &quot;portal &quot;pgpool31043&quot; does not exist&quot;<br>
&gt;<br>
&gt;<br>
&gt; 2) Using JDBC with pgpool with caching disabled it works<br>
&gt;<br>
&gt; 3) Using psycopg2 or psql command line with pgpool with caching either enabled or disabled it works<br>
&gt;<br>
&gt; Can someone help me understand why only JDBC is not working?<br>
&gt;<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Felipe Garcia<br>
&gt;<br>
&gt; Aviso: Geralmente, email é a melhor forma de me encontrar. Eu tentarei responder a sua mensagem o mais rápido possível.<br>
&gt; Note: Generally, email is the best way to reach me.  I will respond to your message as soon as possible<br>
&gt;<br>
&gt;<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">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
&gt;</p>
<p dir="ltr">Do you have logging enabled in the men cache setup? Is memcache being accessed in the JDBC case? A guess: JDBC and memcache are interfering with each other?</p>