Re: [HACKERS] pg_ctl do_restart

2008-04-23 Thread Tom Lane
Magnus Hagander <[EMAIL PROTECTED]> writes: > Can anybody recall a reason for why the do_restart() function in pg_ctl > copies a lot of code almost right off from do_stop(), instead of just > having that code exactly the same as do_stop() and factored out? (Like > it does for do_start() already) >

[HACKERS] pg_ctl do_restart

2008-04-23 Thread Magnus Hagander
Can anybody recall a reason for why the do_restart() function in pg_ctl copies a lot of code almost right off from do_stop(), instead of just having that code exactly the same as do_stop() and factored out? (Like it does for do_start() already) I see the point in dealing with the very first branch