<div dir="ltr"><div>There are no errors in the backend, it just shows the client 
dropped. Note this is from a different set up, I compiled it instead of 
usnig a package, and used Debian instead of CentOS, and I still get 
exact same error.<br>
<br></div><div>I also found this error only occurs when I am using parallel mode.<br><br></div>2014-01-17 19:00:05 EET DEBUG:  unexpected EOF on client connection<br>2014-01-17 19:00:05 EET DEBUG:  shmem_exit(0): 7 callbacks to make<br>

2014-01-17 19:00:05 EET DEBUG:  proc_exit(0): 4 callbacks to make<br>2014-01-17
 19:00:05 EET LOG:  disconnection: session time: 0:00:41.344 user=pgpool
 database=pgpool host=localhost.localdomain port=40070<br>2014-01-17 19:00:05 EET DEBUG:  exit(0)<br>
2014-01-17 19:00:05 EET DEBUG:  shmem_exit(-1): 0 callbacks to make<br>2014-01-17 19:00:05 EET DEBUG:  proc_exit(-1): 0 callbacks to make<br>2014-01-17 19:00:05 EET DEBUG:  forked new backend, pid=27291 socket=12<br>2014-01-17 19:00:05 EET DEBUG:  reaping dead processes<br>

2014-01-17 19:00:05 EET DEBUG:  server process (PID 27274) exited with exit code 0<br>2014-01-17 19:00:05 EET LOG:  connection received: host=localhost.localdomain port=40082<br>2014-01-17 19:00:05 EET DEBUG:  postgres child[27291]: starting with (<br>

2014-01-17 19:00:05 EET DEBUG:      postgres<br>2014-01-17 19:00:05 EET DEBUG:  )<br>2014-01-17 19:00:05 EET DEBUG:  InitPostgres<br>2014-01-17 19:00:05 EET DEBUG:  my backend ID is 2<br>2014-01-17 19:00:05 EET DEBUG:  StartTransaction<br>

2014-01-17 19:00:05 EET DEBUG:  name: unnamed; blockState:       
DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children: <br>2014-01-17 19:00:05 EET LOG:  connection authorized: user=pgpool database=pgpool<br>
2014-01-17 19:00:05 EET DEBUG:  CommitTransaction<br>2014-01-17 19:00:05
 EET DEBUG:  name: unnamed; blockState:       STARTED; state: INPROGR, 
xid/subid/cid: 0/1/0, nestlvl: 1, children: <br>2014-01-17 19:00:05 EET DEBUG:  forked new backend, pid=27292 socket=12<br>
2014-01-17 19:00:05 EET LOG:  connection received: host=localhost.localdomain port=40083<br>2014-01-17 19:00:05 EET DEBUG:  SSL connection from &quot;(anonymous)&quot;<br>2014-01-17 19:00:05 EET DEBUG:  postgres child[27292]: starting with (<br>

2014-01-17 19:00:05 EET DEBUG:      postgres<br>2014-01-17 19:00:05 EET DEBUG:  )<br>2014-01-17 19:00:05 EET DEBUG:  InitPostgres<br>2014-01-17 19:00:05 EET DEBUG:  my backend ID is 5<br>2014-01-17 19:00:05 EET DEBUG:  StartTransaction<br>

2014-01-17 19:00:05 EET DEBUG:  name: unnamed; blockState:       
DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children: <br>2014-01-17 19:00:05 EET LOG:  connection authorized: user=pgpool database=pgpool<br>
2014-01-17 19:00:05 EET DEBUG:  CommitTransaction<br>2014-01-17 19:00:05
 EET DEBUG:  name: unnamed; blockState:       STARTED; state: INPROGR, 
xid/subid/cid: 0/1/0, nestlvl: 1, children: <br>2014-01-17 19:00:05 EET DEBUG:  forked new backend, pid=27293 socket=12<br>
2014-01-17 19:00:05 EET LOG:  connection received: host=localhost.localdomain port=40084<br>2014-01-17 19:00:05 EET DEBUG:  postgres child[27293]: starting with (<br>2014-01-17 19:00:05 EET DEBUG:      postgres<br>2014-01-17 19:00:05 EET DEBUG:  )<br>

2014-01-17 19:00:05 EET DEBUG:  InitPostgres<br>2014-01-17 19:00:05 EET DEBUG:  my backend ID is 6<br>2014-01-17 19:00:05 EET DEBUG:  StartTransaction<br>2014-01-17
 19:00:05 EET DEBUG:  name: unnamed; blockState:       DEFAULT; state: 
INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children: <br>
2014-01-17 19:00:05 EET LOG:  connection authorized: user=pgpool database=pgpool<br>2014-01-17 19:00:05 EET DEBUG:  CommitTransaction<br>2014-01-17
 19:00:05 EET DEBUG:  name: unnamed; blockState:       STARTED; state: 
INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children: </div><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 January 2014 17:34, Gray, David W <span dir="ltr">&lt;<a href="mailto:David.W.Gray@nielsen.com" target="_blank">David.W.Gray@nielsen.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 link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">What error message do you see on the backend (postgresql) server?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I am having a similar issue, whereby the select has_function_privilege is failing, causing the connection to the postgres server to drop (the error kills the
 connection.) So, what’s in the postgres log? (You may want to turn the logging level up in postgresql.conf).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:pgpool-general-bounces@pgpool.net" target="_blank">pgpool-general-bounces@pgpool.net</a> [mailto:<a href="mailto:pgpool-general-bounces@pgpool.net" target="_blank">pgpool-general-bounces@pgpool.net</a>]
<b>On Behalf Of </b>Kristjan Siimson<br>
<b>Sent:</b> Friday, January 17, 2014 8:20 AM<br>
<b>To:</b> <a href="mailto:pgpool-general@pgpool.net" target="_blank">pgpool-general@pgpool.net</a><br>
<b>Subject:</b> [pgpool-general: 2445] Segfault in pgpool triggered by a background query<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Sorry, my previous e-mail was sort of useless, I really did have an invalid query, so my description was misleading.<br>
<br>
I did some more digging and found this:<br>
<br>
2014-01-17 13:34:04 DEBUG: pid 3668: ProcessFrontendResponse: kind from frontend Q(51)
<br>
2014-01-17 13:34:04 DEBUG: pid 3668: pool_unset_doing_extended_query_message: done
<br>
2014-01-17 13:34:04 DEBUG: pid 3668: statement2: insert into account (id, bid, balance, filler) values (1, 1, 0.0, &quot;FRESH ACCOUNT&quot;);
<br>
2014-01-17 13:34:04 DEBUG: pid 3668: pool_set_query_in_progress: done <br>
2014-01-17 13:34:04 DEBUG: pid 3668: do_query: extended:0 query:SELECT count(*) from (SELECT has_function_privilege(&#39;kristjan&#39;, &#39;pgpool_regclass(cstring)&#39;, &#39;execute&#39;) WHERE EXISTS(SELECT * FROM pg_catalog.pg_proc AS p WHERE p.proname = &#39;pgpool_regclass&#39;)) AS
 s <br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_read: EOF encountered with backend <br>
2014-01-17 13:34:04 ERROR: pid 3668: do_query: error while reading message kind <br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_search_relcache: do_query failed <br>
2014-01-17 13:34:04 DEBUG: pid 3668: do_query: extended:0 query:SELECT attname, d.adsrc, coalesce((d.adsrc LIKE &#39;%now()%&#39; OR d.adsrc LIKE &#39;%&#39;&#39;now&#39;&#39;::text%&#39;) AND (a.atttypid = &#39;timestamp&#39;::regtype::oid OR a.atttypid = &#39;timestamp with time zone&#39;::regtype::oid
 OR a.atttypid = &#39;date&#39;::regtype::oid OR a.atttypid = &#39;time&#39;::regtype::oid OR a.atttypid = &#39;time with time zone&#39;::regtype::oid) , false) FROM pg_catalog.pg_class c, pg_catalog.pg_attribute a  LEFT JOIN pg_catalog.pg_attrdef d ON (a.attrelid = d.adrelid AND
 a.attnum = d.adnum) WHERE c.oid = a.attrelid AND a.attnum &gt;= 1 AND a.attisdropped = &#39;f&#39; AND c.relname = &#39;account&#39; ORDER BY a.attnum
<br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_read: EOF encountered with backend <br>
2014-01-17 13:34:04 ERROR: pid 3668: do_query: error while reading message kind <br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_search_relcache: do_query failed <br>
2014-01-17 13:34:04 DEBUG: pid 3668: wait_for_query_response: waiting for backend 1 completing the query
<br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_read: EOF encountered with backend <br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_read: EOF encountered with backend <br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_read: EOF encountered with backend <br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_read: EOF encountered with backend <br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_read: EOF encountered with backend <br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_read: EOF encountered with backend <br>
2014-01-17 13:34:04 ERROR: pid 3668: read_kind_from_backend: failed to read kind from 1 th backend
<br>
2014-01-17 13:34:04 LOG:   pid 3668: do_child: exits with status 1 due to error <br>
2014-01-17 13:34:04 ERROR: pid 3668: pool_flush_it: write failed to backend (1). reason: Broken pipe offset: 0 wlen: 5
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: I am 3671 accept fd 6 <br>
2014-01-17 13:34:04 DEBUG: pid 3671: read_startup_packet: application_name: psql <br>
2014-01-17 13:34:04 DEBUG: pid 3671: Protocol Major: 3 Minor: 0 database: bench_parallel user: kristjan
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: new_connection: connecting 0 backend <br>
2014-01-17 13:34:04 DEBUG: pid 3671: new_connection: skipping slot 0 because backend_status = 3
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: new_connection: connecting 1 backend <br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_ssl: SSL requested but SSL support is not available
<br>
2014-01-17 13:34:04 DEBUG: pid 3639: reap_handler called <br>
2014-01-17 13:34:04 DEBUG: pid 3639: reap_handler: call wait3 <br>
2014-01-17 13:34:04 DEBUG: pid 3639: child 3668 exits with status 256 <br>
2014-01-17 13:34:04 DEBUG: pid 3639: fork a new child pid 3675 <br>
2014-01-17 13:34:04 DEBUG: pid 3639: reap_handler: normally exited <br>
2014-01-17 13:34:04 DEBUG: pid 3675: I am 3675 <br>
2014-01-17 13:34:04 DEBUG: pid 3675: pool_initialize_private_backend_status: initialize backend status
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_read_message_length: slot: 1 length: 8 <br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_do_auth: auth kind:0 <br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_read_message_length2: master slot: 1 length: 26
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: 1 th backend: name: application_name value: psql
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_read_message_length2: master slot: 1 length: 25
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: 1 th backend: name: client_encoding value: UTF8
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_read_message_length2: master slot: 1 length: 23
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: 1 th backend: name: DateStyle value: ISO, MDY
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_read_message_length2: master slot: 1 length: 25
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: 1 th backend: name: integer_datetimes value: on
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_read_message_length2: master slot: 1 length: 27
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: 1 th backend: name: IntervalStyle value: postgres
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_read_message_length2: master slot: 1 length: 20
<br>
2014-01-17 13:34:04 DEBUG: pid 3671: 1 th backend: name: is_superuser value: on <br>
2014-01-17 13:34:04 DEBUG: pid 3671: pool_read_message_length2: master slot: 1 length: 25<br>
<br>
And with more digging I found that pgpool really does not &quot;like&quot; the following query regardless of whether the backend was another instance of pgpool or a Postgre server:<br>
<br>
Query:<br>
<br>
bench_parallel=# SELECT count(*) from (SELECT has_function_privilege(&#39;kristjan&#39;, &#39;pgpool_regclass(cstring)&#39;, &#39;execute&#39;) WHERE EXISTS(SELECT * FROM pg_catalog.pg_proc AS p WHERE p.proname = &#39;pgpool_regclass&#39;)) AS s;
<br>
The connection to the server was lost. Attempting reset: Succeeded. <br>
<br>
Output from pgpool daemon in debug mode, note the segfault:<br>
<br>
2014-01-17 15:01:52 DEBUG: pid 3569: ProcessFrontendResponse: kind from frontend Q(51)
<br>
2014-01-17 15:01:52 DEBUG: pid 3569: pool_unset_doing_extended_query_message: done
<br>
2014-01-17 15:01:52 DEBUG: pid 3569: statement2: SELECT count(*) from (SELECT has_function_privilege(&#39;kristjan&#39;, &#39;pgpool_regclass(cstring)&#39;, &#39;execute&#39;) WHERE EXISTS(SELECT * FROM pg_catalog.pg_proc AS p WHERE p.proname = &#39;pgpool_regclass&#39;)) AS s;
<br>
2014-01-17 15:01:52 DEBUG: pid 3569: pool_set_query_in_progress: done <br>
2014-01-17 15:01:52 DEBUG: pid 3569: initSelectStmt: ANALYZE now(0) <br>
2014-01-17 15:01:52 DEBUG: pid 3569: initSelectStmt: ANALYZE now(1) <br>
2014-01-17 15:01:52 DEBUG: pid 3569: inside build_range_info num= 1 current_select=1
<br>
2014-01-17 15:01:52 DEBUG: pid 3569: inside build_range_info const or func  1 <br>
2014-01-17 15:01:52 DEBUG: pid 3569: initSelectStmt: ANALYZE now(2) <br>
2014-01-17 15:01:52 DEBUG: pid 3569: inside build_range_info num= 1 current_select=2
<br>
2014-01-17 15:01:52 DEBUG: pid 3569: inside build_range_info const or func  2 <br>
2014-01-17 15:01:52 DEBUG: pid 3569: inside build_virtual_info no dist state=E p <br>
2014-01-17 15:01:52 DEBUG: pid 3556: I am 3556 accept fd 10 <br>
2014-01-17 15:01:52 DEBUG: pid 3556: read_startup_packet: application_name: psql <br>
2014-01-17 15:01:52 DEBUG: pid 3556: Protocol Major: 3 Minor: 0 database: bench_parallel user: kristjan
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: new_connection: connecting 0 backend <br>
2014-01-17 15:01:52 DEBUG: pid 3556: new_connection: connecting 1 backend <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_ssl: SSL requested but SSL support is not available
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_ssl: SSL requested but SSL support is not available
<br>
2014-01-17 15:01:52 DEBUG: pid 3516: reap_handler called <br>
2014-01-17 15:01:52 DEBUG: pid 3516: reap_handler: call wait3 <br>
2014-01-17 15:01:52 ERROR: pid 3516: Child process 3569 was terminated by segmentation fault
<br>
2014-01-17 15:01:52 DEBUG: pid 3516: child 3569 exits with status 11 by signal 11
<br>
2014-01-17 15:01:52 DEBUG: pid 3516: fork a new child pid 3570 <br>
2014-01-17 15:01:52 DEBUG: pid 3516: reap_handler: normally exited <br>
2014-01-17 15:01:52 DEBUG: pid 3570: I am 3570 <br>
2014-01-17 15:01:52 DEBUG: pid 3570: pool_initialize_private_backend_status: initialize backend status
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length: slot: 0 length: 8 <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length: slot: 1 length: 8 <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_do_auth: auth kind:0 <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 26
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 26
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: application_name value: psql
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: application_name value: psql
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 25
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 25
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: client_encoding value: UTF8
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: client_encoding value: UTF8
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 23
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 23
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: DateStyle value: ISO, MDY
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: DateStyle value: ISO, MDY
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 25
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 25
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: integer_datetimes value: on
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: integer_datetimes value: on
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 27
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 27
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: IntervalStyle value: postgres
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: IntervalStyle value: postgres
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 20
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 20
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: is_superuser value: on <br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: is_superuser value: on <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 25
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 25
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: server_encoding value: UTF8
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: server_encoding value: UTF8
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 25
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 25
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: server_version value: 9.3.2
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: server_version value: 9.3.2
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 35
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 35
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: session_authorization value: kristjan
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: session_authorization value: kristjan
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 35
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 35
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: standard_conforming_strings value: on
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: standard_conforming_strings value: on
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 0 length: 28
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length2: master slot: 1 length: 28
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 0 th backend: name: TimeZone value: Europe/Tallinn
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: 1 th backend: name: TimeZone value: Europe/Tallinn
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length: slot: 0 length: 12
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length: slot: 1 length: 12
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_do_auth: cp-&gt;info[i]:0x7f5eca6b7000 pid:10951
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_do_auth: cp-&gt;info[i]:0x7f5eca6b7088 pid:10298
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_send_auth_ok: send pid 10298 to frontend
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: select_load_balancing_node: selected backend id is 1
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: selected load balancing node: 1 <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_unset_query_in_progress: done <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_unset_command_success: done <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_unset_writing_transaction: done <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_unset_failed_transaction: done <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_unset_transaction_isolation: done <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_unset_skip_reading_from_backends: done <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_unset_ignore_till_sync: done <br>
2014-01-17 15:01:52 DEBUG: pid 3556: read_kind_from_backend: kind: Z from 0 th backend
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: read_kind_from_backend: read kind from 0 th backend Z NUM_BACKENDS: 2
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: read_kind_from_backend: kind: Z from 1 th backend
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: read_kind_from_backend: read kind from 1 th backend Z NUM_BACKENDS: 2
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: ProcessBackendResponse: kind from backend: Z
<br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length: slot: 0 length: 5 <br>
2014-01-17 15:01:52 DEBUG: pid 3556: pool_read_message_length: slot: 1 length: 5 <br>
2014-01-17 15:01:52 DEBUG: pid 3556: ReadyForQuery: transaction state: <br>
2014-01-17 15:01:52 DEBUG: pid 3556: ReadyForQuery: transaction state:I <br>
2014-01-17 15:01:52 DEBUG: pid 3556: ProcessBackendResponse: Ready For Query <br>
2014-01-17 15:01:52 DEBUG: pid 3570: pool_ssl: SSL requested but SSL support is not available
<br>
2014-01-17 15:01:52 DEBUG: pid 3570: s_do_auth: auth kind: 0 <br>
2014-01-17 15:01:52 DEBUG: pid 3570: s_do_auth: backend key data received <br>
2014-01-17 15:01:52 DEBUG: pid 3570: s_do_auth: transaction state: I <u></u><u></u></p>
</div>
<p class="MsoNormal">The nodes output the following. The error happened also before installation of pgpool_regclass plus I was able to run &#39;CREATE EXTENSION&#39; pgpool_regclass through pgpool.<br>
<br>
bench_parallel=# SELECT count(*) from (SELECT has_function_privilege(&#39;kristjan&#39;, &#39;pgpool_regclass(cstring)&#39;, &#39;execute&#39;) WHERE EXISTS(SELECT * FROM pg_catalog.pg_proc AS p WHERE p.proname = &#39;pgpool_regclass&#39;)) AS s;<br>

 count <br>
-------<br>
     1<br>
(1 row)<u></u><u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>