pg_ctl do_restart

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_ctl do_restart
Date: 2008-04-23 14:04:38
Message-ID: 20080423160438.45b2ff32@mha-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-04-23 14:18:41 Re: Concurrent psql API
Previous Message Zeugswetter Andreas OSB SD 2008-04-23 13:56:12 Re: WIP: psql default banner patch