<div dir="ltr">Thanks Tatsuo. When will you begin committing changes for 3.4?<div><br></div><div>Usama has made some improvements to the regression test suite for pgpool, we will sending those change early this week.</div>
<div><br></div><div style>Btw, I have added another task to the internally tracked todo list for pgpool, it is</div><div style><br></div><div style>&quot;We <span style="color:rgb(0,0,0);font-family:arial,sans,sans-serif;font-size:13px">would like to see pgppol in separate sub modules that can be installed separately for each feature, along with a common -libs subpackage or so. The idea is that if someone just want to install load balancing for pgpool, they should be able to do that without installing all the other features. I suppose the changes done to the directory structure are a step in that direction.&quot;</span></div>
<div style><span style="color:rgb(0,0,0);font-family:arial,sans,sans-serif;font-size:13px"><br></span></div><div style><span style="color:rgb(0,0,0);font-family:arial,sans,sans-serif;font-size:13px">I am hoping we can also do this for 3.4.</span></div>
<div style><span style="color:rgb(0,0,0);font-family:arial,sans,sans-serif;font-size:13px"><br></span></div><div style><span style="color:rgb(0,0,0);font-family:arial,sans,sans-serif;font-size:13px">-- Ahsan</span></div><div style>
<span style="color:rgb(0,0,0);font-family:arial,sans,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 22, 2013 at 5:15 AM, 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">Ahsan,<br>
<br>
Yes, now it looks good. If there&#39;s no objection, I&#39;m looking forward<br>
to committing Usama&#39;s changes in 3.4.<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>
&gt; Hi Tatsuo,<br>
&gt;<br>
&gt; Assuming there are no issues when are you planning to commit the directory<br>
&gt; structure changes? I believe we would like these to be part of pgpool 3.4.<br>
&gt;<br>
&gt; -- Ahsan<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Jul 15, 2013 at 5:09 PM, Muhammad Usama &lt;<a href="mailto:m.usama@gmail.com">m.usama@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi Tatsuo<br>
&gt;&gt;<br>
&gt;&gt; Thanks for your feedback, I have made the suggested changes and pushed to<br>
&gt;&gt; the github repository.<br>
&gt;&gt;<br>
&gt;&gt; --Usama<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Jul 11, 2013 at 3:39 AM, Tatsuo Ishii &lt;<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>&gt;wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Usama,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks for the proposal. In over all I believe this will greatly help<br>
&gt;&gt;&gt; people who are trying to understand the pgpool-II source code.  After<br>
&gt;&gt;&gt; pgpool-II 3.3 is out (which is expected in this July), we could apply<br>
&gt;&gt;&gt; the changes if there&#39;s no objection from pgpool-II hackers.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; Since the pgpool-II code base has grown in recent times and the code<br>
&gt;&gt;&gt; tree<br>
&gt;&gt;&gt; &gt; is not very much organised into directories i.e There are<br>
&gt;&gt;&gt; &gt; no separate directories for source and include files, and most of the<br>
&gt;&gt;&gt; pgpool-II<br>
&gt;&gt;&gt; &gt; source resides in top level pgpool2 directory, This makes it a little<br>
&gt;&gt;&gt; hard<br>
&gt;&gt;&gt; &gt; to get the quick understanding of the code for new developers,<br>
&gt;&gt;&gt; &gt; and maintenance of code will become more and more difficult with growth<br>
&gt;&gt;&gt; in<br>
&gt;&gt;&gt; &gt; code base.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; So me and Tatsuo has been working on the reorganisation of pgpool-II<br>
&gt;&gt;&gt; source<br>
&gt;&gt;&gt; &gt; tree and have came up with the directory structure.<br>
&gt;&gt;&gt; &gt; The purposed source tree for the pgpool-II is to contains following<br>
&gt;&gt;&gt; &gt; directories.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Here are small suggestions.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I think you missed to create src/include/query_cache and you should<br>
&gt;&gt;&gt; move src/include/utils/pool_memqcache.h there.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Also I think src/rewrite/parallel_query should not under src/rewrite<br>
&gt;&gt;&gt; because staffs under parallel_query are not for general query<br>
&gt;&gt;&gt; rewriting, but for parallel_query. They look similar in implementation<br>
&gt;&gt;&gt; but their aims are completely different. If you do that way, it will<br>
&gt;&gt;&gt; give enough confusion to those who are studying pgpool-II source code.<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Tatsuo Ishii<br>
&gt;&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&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;&gt; Japanese: <a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; pgpool2<br>
&gt;&gt;&gt; &gt; |  --doc<br>
&gt;&gt;&gt; &gt; |  --m4<br>
&gt;&gt;&gt; &gt; |  --pgpool_adm<br>
&gt;&gt;&gt; &gt; |  --src<br>
&gt;&gt;&gt; &gt; |  |  --auth<br>
&gt;&gt;&gt; &gt; |  |  --config<br>
&gt;&gt;&gt; &gt; |  |  --context<br>
&gt;&gt;&gt; &gt; |  |  --include<br>
&gt;&gt;&gt; &gt; |  |  |  --auth<br>
&gt;&gt;&gt; &gt; |  |  |  --context<br>
&gt;&gt;&gt; &gt; |  |  |  --parser<br>
&gt;&gt;&gt; &gt; |  |  |  --pcp<br>
&gt;&gt;&gt; &gt; |  |  |  --protocol<br>
&gt;&gt;&gt; &gt; |  |  |  --rewrite<br>
&gt;&gt;&gt; &gt; |  |  |  --utils<br>
&gt;&gt;&gt; &gt; |  |  |  --watchdog<br>
&gt;&gt;&gt; &gt; |  |  --libs<br>
&gt;&gt;&gt; &gt; |  |  |  --pcp<br>
&gt;&gt;&gt; &gt; |  |  --main<br>
&gt;&gt;&gt; &gt; |  |  --parser<br>
&gt;&gt;&gt; &gt; |  |  --pcp_con<br>
&gt;&gt;&gt; &gt; |  |  --protocol<br>
&gt;&gt;&gt; &gt; |  |  --query_cache<br>
&gt;&gt;&gt; &gt; |  |  --redhat<br>
&gt;&gt;&gt; &gt; |  |  |  --rpm_installer<br>
&gt;&gt;&gt; &gt; |  |  --rewrite<br>
&gt;&gt;&gt; &gt; |  |  |  --parallel_query<br>
&gt;&gt;&gt; &gt; |  |  --sample<br>
&gt;&gt;&gt; &gt; |  |  --sql<br>
&gt;&gt;&gt; &gt; |  |  |  --pgpool-recovery<br>
&gt;&gt;&gt; &gt; |  |  |  --pgpool-regclass<br>
&gt;&gt;&gt; &gt; |  |  --streaming_replication<br>
&gt;&gt;&gt; &gt; |  |  --system_db<br>
&gt;&gt;&gt; &gt; |  |  --test<br>
&gt;&gt;&gt; &gt; |  |  |  --C<br>
&gt;&gt;&gt; &gt; |  |  |  --jdbc<br>
&gt;&gt;&gt; &gt; |  |  |  |  --expected<br>
&gt;&gt;&gt; &gt; |  |  |  --parser<br>
&gt;&gt;&gt; &gt; |  |  |  |  --expected<br>
&gt;&gt;&gt; &gt; |  |  |  |  --input<br>
&gt;&gt;&gt; &gt; |  |  |  --pdo-test<br>
&gt;&gt;&gt; &gt; |  |  |  |  --mod<br>
&gt;&gt;&gt; &gt; |  |  |  |  --SQLlist<br>
&gt;&gt;&gt; &gt; |  |  |  --regression<br>
&gt;&gt;&gt; &gt; |  |  |  |  --tests<br>
&gt;&gt;&gt; &gt; |  |  |  |  |  --001.load_balance<br>
&gt;&gt;&gt; &gt; |  |  |  |  |  --002.native_replication<br>
&gt;&gt;&gt; &gt; |  |  |  |  |  --003.failover<br>
&gt;&gt;&gt; &gt; |  |  |  |  |  --050.bug58<br>
&gt;&gt;&gt; &gt; |  |  |  |  |  --051.bug60<br>
&gt;&gt;&gt; &gt; |  |  |  |  |  --052.do_query<br>
&gt;&gt;&gt; &gt; |  |  |  |  |  --053.insert_lock_hangs<br>
&gt;&gt;&gt; &gt; |  |  |  --timestamp<br>
&gt;&gt;&gt; &gt; |  |  |  |  --expected<br>
&gt;&gt;&gt; &gt; |  |  |  |  --input<br>
&gt;&gt;&gt; &gt; |  |  --tools<br>
&gt;&gt;&gt; &gt; |  |  |  --pcp<br>
&gt;&gt;&gt; &gt; |  |  |  --pgmd5<br>
&gt;&gt;&gt; &gt; |  |  --utils<br>
&gt;&gt;&gt; &gt; |  |  --watchdog<br>
&gt;&gt;&gt; &gt; |  |  |  --test<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; I have created a git repository on github (<br>
&gt;&gt;&gt; <a href="https://github.com/codeforall" target="_blank">https://github.com/codeforall</a><br>
&gt;&gt;&gt; &gt; /pgpool2.git) with the purposed directory structure.<br>
&gt;&gt;&gt; &gt; and the attached (pgpool2_code_tree.txt) file contains the complete list<br>
&gt;&gt;&gt; &gt; directories along with files for the purposed directory structure.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Thanks<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Regards<br>
&gt;&gt;&gt; &gt; Muhammad Usama<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; pgpool-hackers mailing list<br>
&gt;&gt; <a href="mailto:pgpool-hackers@pgpool.net">pgpool-hackers@pgpool.net</a><br>
&gt;&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-hackers" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-hackers</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Ahsan Hadi<br>
&gt; Snr Director Product Development<br>
&gt; EnterpriseDB Corporation<br>
&gt; The Enterprise Postgres Company<br>
&gt;<br>
&gt; Phone: <a href="tel:%2B92-51-8358874" value="+92518358874">+92-51-8358874</a><br>
&gt; Mobile: <a href="tel:%2B92-333-5162114" value="+923335162114">+92-333-5162114</a><br>
&gt;<br>
&gt; Website: <a href="http://www.enterprisedb.com" target="_blank">www.enterprisedb.com</a><br>
&gt; EnterpriseDB Blog: <a href="http://blogs.enterprisedb.com/" target="_blank">http://blogs.enterprisedb.com/</a><br>
&gt; Follow us on Twitter: <a href="http://www.twitter.com/enterprisedb" target="_blank">http://www.twitter.com/enterprisedb</a><br>
&gt;<br>
&gt; This e-mail message (and any attachment) is intended for the use of the<br>
&gt; individual or entity to whom it is addressed. This message contains<br>
&gt; information from EnterpriseDB Corporation that may be privileged,<br>
&gt; confidential, or exempt from disclosure under applicable law. If you are<br>
&gt; not the intended recipient or authorized to receive this for the intended<br>
&gt; recipient, any use, dissemination, distribution, retention, archiving, or<br>
&gt; copying of this communication is strictly prohibited. If you have received<br>
&gt; this e-mail in error, please notify the sender immediately by reply e-mail<br>
&gt; and delete this message.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ahsan Hadi<br>Snr Director Product Development<br>EnterpriseDB Corporation<br>The Enterprise Postgres Company<br><br>Phone: +92-51-8358874    <br>Mobile: +92-333-5162114<br>
<br>Website: <a href="http://www.enterprisedb.com">www.enterprisedb.com</a><br>EnterpriseDB Blog: <a href="http://blogs.enterprisedb.com/">http://blogs.enterprisedb.com/</a><br>Follow us on Twitter: <a href="http://www.twitter.com/enterprisedb">http://www.twitter.com/enterprisedb</a><br>
<br>This e-mail message (and any attachment) is intended for the use of the individual or entity to whom it is addressed. This message contains information from EnterpriseDB Corporation that may be privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient or authorized to receive this for the intended recipient, any use, dissemination, distribution, retention, archiving, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete this message.
</div>