<div dir="ltr">Installing &quot;pgpool-regclass&quot; fixed it.<div><br><div><br><div><br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 March 2015 at 14:38, Jose Baez <span dir="ltr">&lt;<a href="mailto:pepote@gmail.com" target="_blank">pepote@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font face="arial, helvetica, sans-serif" color="#000000">It is not a multistatement query.</font></div><div><font face="arial, helvetica, sans-serif" color="#000000"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#000000">The SQL query that fails is too simple.</font></div><div><br></div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif">here is Pgpool&#39;s log with log_statement = on</span><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif">INSERT query that fails:</span><br></div><div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br></span></div><div><font face="monospace, monospace" color="#274e13">pid 7712: connection received: host=80.26.xxx.xxx port=53957</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: set DateStyle to &#39;ISO&#39;</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: set extra_float_digits to 2</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: select oid, typbasetype from pg_type where typname = &#39;lo&#39;</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: select pg_client_encoding()</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: select current_schema()</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: select nspname from pg_namespace n, pg_class c where c.relnamespace=n.oid and c.oid=&#39;&quot;recurso_gw_info&quot;&#39;::regclass</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: select n.nspname, c.relname, a.attname, a.atttypid, t.typname, a.attnum, a.attlen, a.atttypmod, a.attnotnull, c.relhasrules, c.relkind, c.oid, pg_get_expr(d.adbin, d.adrelid), case t.typtype when &#39;d&#39; then t.typbasetype else 0 end, t.typtypmod, c.relhasoids from (((pg_catalog.pg_class c inner join pg_catalog.pg_namespace n on n.oid = c.relnamespace and c.relname = &#39;recurso_gw_info&#39; and n.nspname = &#39;public&#39;) inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum &gt; 0 and a.attrelid = c.oid) inner join pg_catalog.pg_type t on t.oid = a.atttypid) left outer join pg_attrdef d on a.atthasdef and d.adrelid = a.attrelid and d.adnum = a.attnum order by n.nspname, c.relname, attnum</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: select relhasoids, c.oid from pg_class c, pg_namespace n where relname = &#39;recurso_gw_info&#39; and nspname = &#39;public&#39; and c.relnamespace = n.oid</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: select a.attname, a.atttypid from pg_index i, pg_attribute a where indrelid=27659 and indnatts=1 and indisunique and indexprs is null and indpred is null and i.indrelid = a.attrelid and a.attnum=i.indkey[0] and attnotnull and atttypid in (23, 26)</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: SELECT * , &quot;ctid&quot;, &quot;id_gw_info&quot; FROM recurso_gw_info where ctid = &#39;(0,0)&#39;;select &quot;ctid&quot;, &quot;id_gw_info&quot; from recurso_gw_info WHERE nombre_recurso= &#39;T01&#39; ORDER BY grupo_tetra_numero;</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: BEGIN</font></div><div><font face="monospace, monospace" color="#660000">pid 7712: pool_send_and_wait: Error or notice message from backend: : DB node id: 0 backend pid: 10871 statement: insert into &quot;public&quot;.&quot;recurso_gw_info&quot; (&quot;grupo_tetra_carpeta_nr&quot;, &quot;grupo_tetra_carpeta_nombre&quot;, &quot;grupo_tetra_numero&quot;, &quot;grupo_tetra_codigo&quot;, &quot;grupo_tetra_nombre&quot;, &quot;grupo_tetra_tipo&quot;, &quot;grupo_tetra_modo&quot;, &quot;nombre_recurso&quot;) values ($1, $2, $3, $4, $5, $6, $7, $8) returning ctid message: unnamed prepared statement does not exist</font></div><div><font face="monospace, monospace" color="#274e13">pid 7712: statement: COMMIT</font></div><div><br></div><div><br></div></div><div><font face="arial, helvetica, sans-serif" color="#000000">A SELECT query that runs OK:</font></div><div><br></div><div><font face="monospace, monospace" color="#274e13"><br></font></div><div><div><font face="monospace, monospace" color="#274e13">pid 7714: connection received: host=80.26.xxx.xxx port=53955</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: set DateStyle to &#39;ISO&#39;</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: set extra_float_digits to 2</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: select oid, typbasetype from pg_type where typname = &#39;lo&#39;</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: select pg_client_encoding()</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: select current_schema()</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: select nspname from pg_namespace n, pg_class c where c.relnamespace=n.oid and c.oid=&#39;&quot;recurso_gw_radio_config&quot;&#39;::regclass</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: select n.nspname, c.relname, a.attname, a.atttypid, t.typname, a.attnum, a.attlen, a.atttypmod, a.attnotnull, c.relhasrules, c.relkind, c.oid, pg_get_expr(d.adbin, d.adrelid), case t.typtype when &#39;d&#39; then t.typbasetype else 0 end, t.typtypmod, c.relhasoids from (((pg_catalog.pg_class c inner join pg_catalog.pg_namespace n on n.oid = c.relnamespace and c.relname = &#39;recurso_gw_radio_config&#39; and n.nspname = &#39;public&#39;) inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum &gt; 0 and a.attrelid = c.oid) inner join pg_catalog.pg_type t on t.oid = a.atttypid) left outer join pg_attrdef d on a.atthasdef and d.adrelid = a.attrelid and d.adnum = a.attnum order by n.nspname, c.relname, attnum</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: select relhasoids, c.oid from pg_class c, pg_namespace n where relname = &#39;recurso_gw_radio_config&#39; and nspname = &#39;public&#39; and c.relnamespace = n.oid</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: select a.attname, a.atttypid from pg_index i, pg_attribute a where indrelid=29183 and indnatts=1 and indisunique and indexprs is null and indpred is null and i.indrelid = a.attrelid and a.attnum=i.indkey[0] and attnotnull and atttypid in (23, 26)</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: </font><font face="monospace, monospace" color="#4c1130">SELECT * , &quot;ctid&quot;, &quot;id_recurso_gw_radio_config&quot; FROM recurso_gw_radio_config where ctid = &#39;(0,0)&#39;;select &quot;ctid&quot;, &quot;id_recurso_gw_radio_config&quot; from recurso_gw_radio_config WHERE id_recurso_gw = 1;</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: PREPARE &quot;_KEYSET_02D230E8&quot;(tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid,tid) as SELECT * , &quot;ctid&quot;, &quot;id_recurso_gw_radio_config&quot; FROM recurso_gw_radio_config  where ctid in ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32)</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: EXECUTE &quot;_KEYSET_02D230E8&quot;(&#39;(0,15)&#39;,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: EXECUTE &quot;_KEYSET_02D230E8&quot;(&#39;(0,15)&#39;,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: DEALLOCATE &quot;_KEYSET_02D230E8&quot;</font></div><div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br></div></div><div><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br></span></div><div><br></div></div>
</blockquote></div><br></div>