From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: pg_ctl idempotent option |
Date: | 2013-03-06 04:37:17 |
Message-ID: | 1362544637.11571.21.camel@vanquo.pezone.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, 2013-01-14 at 06:37 -0500, Peter Eisentraut wrote:
> Here is a patch to add an option -I/--idempotent to pg_ctl, the result
> of which is that pg_ctl doesn't error on start or stop if the server is
> already running or already stopped.
So apparently, pg_upgrade needs the existing behavior, so making the
idempotent option the only behavior won't work. Therefore, I think this
patch is still useful as originally presented. I've made one change
that pg_ctl won't print any messages if the -I option is used and the
server is already started/stopped.
Attachment | Content-Type | Size |
---|---|---|
pg-ctl-idempotent-v2.patch | text/x-patch | 5.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2013-03-06 04:39:16 | Re: sql_drop Event Trigger |
Previous Message | Robert Haas | 2013-03-06 04:23:31 | Re: Request for vote to move forward with recovery.conf overhaul |