<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
        {font-family:"Edwardian Script ITC";
        panose-1:3 3 3 2 4 7 7 13 8 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hey folks,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Using pgpool 3.4.3 with streaming replication (yes, I&#8217;m in the process of moving to 3.5). &nbsp;I&#8217;m seeing this error &#8211; an SQL query attempts to create a table (which already exists) and the PostgreSQL server returns the proper error message.
 &nbsp;However, pgpool raises this fatal message:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">FATAL:&nbsp; unable to process backend response<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">DETAIL:&nbsp; invalid message kind sent by backend connection<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">DEBUG:&nbsp; shmem_exit(2): 0 callbacks to make<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">DEBUG:&nbsp; proc_exit(2): 0 callbacks to make<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">DEBUG:&nbsp; exit(2)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">DEBUG:&nbsp; shmem_exit(-1): 0 callbacks to make<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">DEBUG:&nbsp; proc_exit(-1): 0 callbacks to make<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I tried executing the same SQL statement from pgAdmin, but could not generate the above error in the pgpool log. &nbsp;So I&#8217;m not sure what the original client is doing differently.&nbsp; Any ideas about how to avoid this error?&nbsp; This is only a fatal
 error with pgpool &#8211; the PostgreSQL server doesn&#8217;t appear to have any issues.&nbsp; I&#8217;ll try pgpool 3.5 to see if I see the same results.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">The detailed pgpool.log &nbsp;follows: <o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: LOG:&nbsp; pool_send_and_wait: Error or notice message from backend: : DB node id: 0 backend pid: 30876 statement: &quot;create
 table if not exists EAM_ENCRYPTION_KEYS (encryption_key varchar(2000) not null, creation_date timestamp primary key default now()) &quot; message: &quot;NOTICE:&nbsp; relation &quot;eam_encryption_keys&quot; already exists, skipping<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; detect error: kind: N<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; detect error: kind: N<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; detect error: kind: N<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; detect error: kind: N<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; reading backend data packet kind<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DETAIL:&nbsp; backend:0 kind:'N'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; reading backend data packet kind<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DETAIL:&nbsp; backend:0 of 2 kind = 'N'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; processing backend response<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DETAIL:&nbsp; received kind 'N'(4e) from backend<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; reading string data<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DETAIL:&nbsp; read all from pending data. po:2 len:80<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; reading backend data packet kind<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DETAIL:&nbsp; backend:0 kind:'<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; reading backend data packet kind<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DETAIL:&nbsp; backend:0 of 2 kind = '<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: FATAL:&nbsp; unable to process backend response<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DETAIL:&nbsp; invalid message kind sent by backend connection<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; shmem_exit(2): 0 callbacks to make<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; proc_exit(2): 0 callbacks to make<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; exit(2)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; shmem_exit(-1): 0 callbacks to make<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30584: DEBUG:&nbsp; proc_exit(-1): 0 callbacks to make<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30335: DEBUG:&nbsp; reaper handler<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30335: LOG:&nbsp; child process with pid: 30584 exits with status 512<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;">2016-10-17 23:00:08: pid 30335: LOG:&nbsp; fork a new child process with pid: 30877<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:12.0pt;font-family:&quot;Lucida Console&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-size:22.0pt;font-family:&quot;Edwardian Script ITC&quot;">Ken Young</span><span style="font-family:&quot;Edwardian Script ITC&quot;"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif">Ken.Young@sas.com</span></b><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif">
<br>
</span><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif">Data Management R&amp;D</span></b><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif">
<br>
</span><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif">SAS Institute, Inc.</span></b><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif">
<br>
</span><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,sans-serif">919-531-9319
</span></b><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif"><a href="http://www.sas.com/"><span style="color:blue">http://www.sas.com</span></a></span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif">
<o:p></o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:13.5pt;font-family:&quot;Helvetica&quot;,sans-serif">SAS...</span>&nbsp; The Power to Know</i></b>
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>