pg_ctl do_restart - Mailing list pgsql-hackers

From Magnus Hagander
Subject pg_ctl do_restart
Date
Msg-id 20080423160438.45b2ff32@mha-laptop
Whole thread Raw
Responses Re: pg_ctl do_restart
List pgsql-hackers
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 differently, but
for example why do we do the postmaster_is_alive() patch only in
restart and not in stop?

//Magnus


pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas OSB SD"
Date:
Subject: Re: WIP: psql default banner patch
Next
From: Simon Riggs
Date:
Subject: Re: Concurrent psql API