Re: Shutting down postgresql - Mailing list pgsql-general

From Tom Lane
Subject Re: Shutting down postgresql
Date
Msg-id 1634.1009557798@sss.pgh.pa.us
Whole thread Raw
In response to Re: Shutting down postgresql  ("Peter Darley" <pdarley@Kinesis-CEM.com>)
List pgsql-general
"Peter Darley" <pdarley@Kinesis-CEM.com> writes:
>     Something that caught me up at first is that PostgreSQL won't shut down
> until all it's backends close, which means that if you have an application
> connected that uses pooled or cached connections you will probably have to
> shut it down first.

This depends on how the postmaster is commanded to shut down.  I think
what Troy is looking for is the various stop-mode options to pg_ctl:
http://developer.postgresql.org/docs/postgres/app-pg-ctl.html
or perhaps he wants to know about the underlying signals that can be
sent to the postmaster:
http://developer.postgresql.org/docs/postgres/postmaster-shutdown.html

            regards, tom lane

pgsql-general by date:

Previous
From: "Peter Darley"
Date:
Subject: Re: Shutting down postgresql
Next
From: Troy.Campano@LibertyMutual.com
Date:
Subject: Re: Shutting down postgresql