<div dir="ltr">Installing "pgpool-regclass" 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"><<a href="mailto:pepote@gmail.com" target="_blank">pepote@gmail.com</a>></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'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 'ISO'</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 = 'lo'</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='"recurso_gw_info"'::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 'd' 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 = 'recurso_gw_info' and n.nspname = 'public') inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum > 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 = 'recurso_gw_info' and nspname = 'public' 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 * , "ctid", "id_gw_info" FROM recurso_gw_info where ctid = '(0,0)';select "ctid", "id_gw_info" from recurso_gw_info WHERE nombre_recurso= 'T01' 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 "public"."recurso_gw_info" ("grupo_tetra_carpeta_nr", "grupo_tetra_carpeta_nombre", "grupo_tetra_numero", "grupo_tetra_codigo", "grupo_tetra_nombre", "grupo_tetra_tipo", "grupo_tetra_modo", "nombre_recurso") 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 'ISO'</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 = 'lo'</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='"recurso_gw_radio_config"'::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 'd' 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 = 'recurso_gw_radio_config' and n.nspname = 'public') inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum > 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 = 'recurso_gw_radio_config' and nspname = 'public' 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 * , "ctid", "id_recurso_gw_radio_config" FROM recurso_gw_radio_config where ctid = '(0,0)';select "ctid", "id_recurso_gw_radio_config" from recurso_gw_radio_config WHERE id_recurso_gw = 1;</font></div><div><font face="monospace, monospace" color="#274e13">pid 7714: statement: PREPARE "_KEYSET_02D230E8"(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 * , "ctid", "id_recurso_gw_radio_config" 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 "_KEYSET_02D230E8"('(0,15)',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 "_KEYSET_02D230E8"('(0,15)',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 "_KEYSET_02D230E8"</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>