<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 16, 2017 at 6:07 AM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">From the PostgreSQL 10 relelease note:<br>
<br>
Rename SQL functions, tools, and options that reference “xlog” to “wal” (Robert Haas)<br>
<br>
This surely affects to Pgpool-II. I found these calls in Pgpool-II:<br>
<br>
                query = &quot;SELECT pg_current_xlog_location()&quot;;<br>
                query = &quot;SELECT pg_last_xlog_replay_location()<wbr>&quot;;<br>
<br>
We have to deal with this. Just changing these function names to new<br>
ones will make Pgpool-II not work with pre-10 versions of<br>
PostgreSQL. So will not be acceptable. Any idea?<br></blockquote><br>I think these calls are only made by pgpool-worker child process, So one way could be to get the server version of each attached backend at the child startup (<font face="monospace, monospace">SELECT current_setting(&#39;server_version_num&#39;)</font>)  and store the version for each backend node in respective backend data structure.</div><div class="gmail_quote">And latter before sending the query we can construct the appropriate query by looking at the version information for that backend.<div><br></div><div>Thanks</div><div>Best Regards</div><div>Muhammad Usama</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_<wbr>en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.<wbr>jp</a><br>
______________________________<wbr>_________________<br>
pgpool-hackers mailing list<br>
<a href="mailto:pgpool-hackers@pgpool.net">pgpool-hackers@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-hackers" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/<wbr>listinfo/pgpool-hackers</a><br>
</blockquote></div><br></div></div>