Re: Shutting down postgresql

From: Troy(dot)Campano(at)LibertyMutual(dot)com
To: tgl(at)sss(dot)pgh(dot)pa(dot)us, pdarley(at)Kinesis-CEM(dot)com
Cc: Troy(dot)Campano(at)LibertyMutual(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: Shutting down postgresql
Date: 2001-12-28 17:28:13
Message-ID: 9534B16F750ED2118CF90008C724C4460C222386@lmig-msg-20.lmig.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

That's what I was looking for. Thank you!

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Friday, December 28, 2001 11:43 AM
To: Peter Darley
Cc: Campano, Troy; pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Shutting down postgresql

"Peter Darley" <pdarley(at)Kinesis-CEM(dot)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

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-12-28 17:52:52 Re: First decent PostgreSQL CBT now on techdocs.postgresql.org
Previous Message Bruno Wolff III 2001-12-28 16:46:13 Re: Shutting down postgresql