<div dir="ltr">堀本 照と申します。初めて投稿させてもらいます。<div><br></div><div>pgpool-II 3.4.0がリリースされているので、ソースからの動作検証を行おうと思っていたのですが、configureオプションで--with-memcachedを指定すると</div><div><br></div><div><div>main/pgpool_main.c: In function &#39;initialize_shared_mem_objects&#39;:</div><div>main/pgpool_main.c:2658:8: error: &#39;clear_memcache_oidmaps&#39; undeclared (first use in this function)</div><div>    if (clear_memcache_oidmaps)</div></div><div><br></div><div>が出て、エラーとなってしまいます。</div><div><br></div><div><pre style="color:rgb(0,0,0)"><span style="font-family:arial,sans-serif">「環境」</span><br></pre><pre style="color:rgb(0,0,0)"><pre><pre>・OS: ArchLinux(マイナーですが・・・おそらく他のlinuxでも同様と思われます)
<span style="font-family:arial,sans-serif">・</span><span style="font-family:arial,sans-serif">libmemcached
</span><span style="font-family:arial,sans-serif">・</span><span style="font-family:arial,sans-serif">PostgreSQL 9.3.5 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.9.1, 64-bit
</span><span style="font-family:arial,sans-serif">・</span><span style="font-family:arial,sans-serif">pgpool-II: 3.4.0</span></pre></pre></pre><pre style="color:rgb(0,0,0)">libmemcachedとpostgresqlはpackage(pacmanから)でインストールしています。</pre><pre style="color:rgb(0,0,0)">configureオプションは以下となります。</pre><pre style="color:rgb(0,0,0)">./configure --with-openssl --with-memcached=/usr</pre><pre style="color:rgb(0,0,0)">※pgpool-II 3.3系はインストールができて、memcachedを利用したクエリキャッシュができました。</pre><pre style="color:rgb(0,0,0)">3.4.0で--with-memcachedオプションありでmakeした時も正常に終わるようにpatchを作成したので、添付をいたしますが、patchの送り先はこちらでよろしいでしょうか?</pre><pre style="color:rgb(0,0,0)">こちらで検証したところ、正常にmemcachedを利用したquery cacheが出来ているのを確認しています。</pre><pre style="color:rgb(0,0,0)">※pgpoolのログとshow pool_cacheの結果からcacheのヒット率が上がっているのを確認</pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)">以上、よろしくお願いいたします。</pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)"><br></pre></div></div>