Change of pg_ctl's default shutdown method

Started by Bruce Momjianabout 11 years ago3 messageshackers
Jump to latest
#1Bruce Momjian
bruce@momjian.us

We originally chose "smart" as the default pg_ctl shutdown method
because it was the least disruptive, but experience has shown that it is
too polite, so the current default is inconvenient.

We have discussed changing the default shutdown mode to "fast", and 9.5
might be the release where we do that. The attached patch accomplishes
this.

I have not re-ordered the shutdown method options because I am trying to
keep the list logical, from least to most severe, so "smart" is still
listed first. It is odd that the default is the middle option, but I
don't see any other idea on improving that. How do we handle other
cases where the default is in the middle of a range of values?

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

Attachments:

pg_ctl.difftext/x-diff; charset=us-asciiDownload+8-8
#2Robert Haas
robertmhaas@gmail.com
In reply to: Bruce Momjian (#1)
Re: Change of pg_ctl's default shutdown method

On Fri, Mar 20, 2015 at 6:19 PM, Bruce Momjian <bruce@momjian.us> wrote:

I have not re-ordered the shutdown method options because I am trying to
keep the list logical, from least to most severe, so "smart" is still
listed first. It is odd that the default is the middle option, but I
don't see any other idea on improving that.

I don't really think it's a problem.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Bruce Momjian
bruce@momjian.us
In reply to: Robert Haas (#2)
Re: Change of pg_ctl's default shutdown method

On Fri, Mar 20, 2015 at 07:00:59PM -0400, Robert Haas wrote:

On Fri, Mar 20, 2015 at 6:19 PM, Bruce Momjian <bruce@momjian.us> wrote:

I have not re-ordered the shutdown method options because I am trying to
keep the list logical, from least to most severe, so "smart" is still
listed first. It is odd that the default is the middle option, but I
don't see any other idea on improving that.

I don't really think it's a problem.

Applied.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers