<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><div>&gt; &gt; Hi pgpool hackers,</div><div>&gt; &gt; <br>&gt;&nbsp;&gt; <br>&gt;&nbsp;&gt; I have a question about in-memory query.<br>&gt;&nbsp;&gt; <br>&gt;&nbsp;&gt; <br>&gt;&nbsp;&gt; The document says 'when a table is updated, Pgpool-II automatically deletes all the caches related to the table'<br>&gt;&nbsp;&gt; <br>&gt;&nbsp;&gt; <br>&gt;&nbsp;&gt; when I update some tables with rewrite rules,<br>&gt;&nbsp;&gt; The sql may be rewritten to update different tables.<br>&gt;&nbsp;&gt; <br>&gt;&nbsp;&gt; <br>&gt;&nbsp;&gt; Can pgpool deletes the correct caches ?<br><br>&gt; No. To delete the caches Pgpool-II needs to know the updated table<br>&gt; name from the SQL sent from client. In the rewrite<font __editorwarp__="1" style="display: inline;">​</font> rule case, names of<br>&gt; deleted tables are not known to Pgpool-II and cache for the table will<br>&gt; not be deleted.<br><br><span style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">Hi Hoshiai-san,</span></div><div><br></div><div><font face="lucida Grande, Verdana, Microsoft YaHei">Thank you for your reply.</font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><br></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei">I am trying to use pgpool_adm to avoid this problem.</font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"><br></font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei">when reading doc pgpool.net/docs/latest/en/html/pgpool-adm.html</font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei"></font><span style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">May be I found a mistake in the&nbsp;</span><span style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">Description of Figure 1</span></div><div><span style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;"><br></span></div><div><span class="PRODUCTNAME" style="color: rgb(68, 0, 0); font-family: verdana, sans-serif; font-size: medium;">&gt; PostgreSQL</span><span style="font-family: verdana, sans-serif; font-size: medium;">&nbsp;replies back the data to the user (6).</span></div><div><span style="font-family: verdana, sans-serif; font-size: medium;"><br></span></div><div><span style="font-family: verdana, sans-serif;"><font size="2">path(6) does not seem to be the correct path here.</font></span></div><div><span style="font-family: verdana, sans-serif;"><font size="2">I think path(4) is right.</font></span></div><div><span style="font-family: verdana, sans-serif;"><font size="2"><br></font></span></div><div><span style="font-family: verdana, sans-serif;"><font size="2">And I make a patch for it.</font></span></div><div><span style="font-family: verdana, sans-serif; font-size: medium;"><br></span></div><div><span style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">Best regards,</span></div><div><span style="font-family: verdana, sans-serif; font-size: medium;">sherlockcpp</span></div><div><span style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;"><br></span></div><div><span style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;"><br></span></div>