[pgpool-hackers: 205] Re: Ideas for code cleanup

Bruce Momjian bruce at momjian.us
Fri Apr 12 08:21:00 JST 2013


On Thu, Apr 11, 2013 at 11:42:59AM -0400, Bruce Momjian wrote:
> > > The goal is to allow the code to be more easily understood by new
> > > developers.  Would you like to see a patch?
> > 
> > Yes, please. Maybe you want to start from breaking main.c into several
> > files?
> 
> Sure. I will do that now and post a patch.

I started by just moving the pid/status-file processing functions to a
separate C file, so you could see how I am approaching it.  Patch
attached.

-- 
  Bruce Momjian  <bruce at momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pid.diff
Type: text/x-diff
Size: 13496 bytes
Desc: not available
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20130411/f6bf6663/attachment.bin>


More information about the pgpool-hackers mailing list