<div dir="ltr">Sure. Here is the updated patch.<div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra">--Asif<br><br><div class="gmail_quote">On Tue, Apr 2, 2013 at 5:33 PM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In this you can put ifdef to adopt different version of PostgreSQL<br>
source codes. Can you please try in that way? Following is the similar<br>
technique used in sql/pgpool-regclass/pgpool-regclass.c.<br>
<br>
#if !defined(PG_VERSION_NUM) || (PG_VERSION_NUM &lt; 90200)<br>
        result = RangeVarGetRelid(rel, true);<br>
#else<br>
        /* RangeVarGetRelid() of PostgreSQL 9.2 or later, has third<br>
         * argument &quot;missing_ok&quot; which suppresses ERROR exception, but<br>
         * returns invlaid_oid. See include/catalog/namespace.h */<br>
        result = RangeVarGetRelid(rel, true, true);<br>
#endif<br>
<div class="HOEnZb"><div class="h5">--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
<br>
<br>
&gt; Yes its not yet released. I am compiling against latest postgres source<br>
&gt; i.e. 9.3devel master branch.<br>
&gt; Since pgpool-II master branch is also yet under development I thought it<br>
&gt; should be able to compile with it.<br>
&gt;<br>
&gt; Regards,<br>
&gt; --Asif<br>
&gt; On Apr 2, 2013 4:50 PM, &quot;Tatsuo Ishii&quot; &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; &gt; Here is the patch to fix a compilation error I faced while compiling the<br>
&gt;&gt; &gt; pgpool2/sql/pgpool-recovery. I faced the following error:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; pgpool-recovery.c:201:2: error: too few arguments to function<br>
&gt;&gt; &gt; ‘LookupExplicitNamespace’<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I looked into it and found out that the signature<br>
&gt;&gt; &gt; of LookupExplicitNamespace function has been changed in the postgres<br>
&gt;&gt; code.<br>
&gt;&gt;<br>
&gt;&gt; What version of PostgreSQL are you compiling pgpool-recovery.c<br>
&gt;&gt; against? I suspect you are compiling it against not-yet-released<br>
&gt;&gt; version of PostgreSQL.<br>
&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
&gt;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div></div>