Thu Aug 15 12:59:44 PDT 2013
- Previous message: [Slony1-bugs] [Bug 307] slon-tools.pm get_pid function uses "ps | egrep" badly
- Next message: [Slony1-bugs] [Bug 311] New: tar error when extracting slony1-2.1.4-docs.tar.bz2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://www.slony.info/bugzilla/show_bug.cgi?id=307 --- Comment #2 from Christopher Browne <cbbrowne at ca.afilias.info> 2013-08-15 12:59:44 PDT --- I wonder if this is perhaps totally the wrong approach altogether. This draws us deeper into a "world of hurt" where we are essentially requiring that database connection strings have a particular format, and that we are, in detail, parsing them. It heads towards more sophisticated Perl regular expressions, and while Perl is pretty good at that, people aren't necessarily good at reading, understanding, or debugging those! The "better" way I am thinking of would be to consult the appropriate PID file generated by ech slon process that would allow us to avoid using ps altogether. I'd like to poke at that a bit more; I'd be happy to hear other thoughts on the matter. -- Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
- Previous message: [Slony1-bugs] [Bug 307] slon-tools.pm get_pid function uses "ps | egrep" badly
- Next message: [Slony1-bugs] [Bug 311] New: tar error when extracting slony1-2.1.4-docs.tar.bz2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-bugs mailing list