From: Fred Parkinson <FredP@abag.ca.gov>
To: pgsql-admin@postgresql.org
Subject: Is there a way to view active connections?
Date: Tue, 24 May 2016 12:57:05 -0700
Message-ID: <57444FA1020000A700034C71@gwia1.abag.ca.gov> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
I want to do a server restart, so I issued the command
pg-ctl -w restart -D /usr/local/pgsql/data
However, the shut down fails:
pg_ctl: server does not shut down.
Unfortunately, when I try to see who is connected with psql, I get
FATAL: the database system is shutting down.
Is there any other way to see who is still connected?
Thanks --Fred
ABAG is moving.
Effective Monday May 23, 2016 our mailing address and location will be:
Association of Bay Area Governments
375 Beale Street, Suite 700
San Francisco, CA 94105
(415) 820-7900
My email address will remain the same.
My phone number will be (415) 820-79XX (last two digits remain the same).
We look forward to seeing you at our new location along with our regional partners, the Metropolitan Transportation Commission and the Bay Area Air Quality Management District.
In the meantime, it's business as usual at our current location in Oakland.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: FredP@abag.ca.gov
Subject: Re: Is there a way to view active connections?
In-Reply-To: <57444FA1020000A700034C71@gwia1.abag.ca.gov>
References: <57444FA1020000A700034C71@gwia1.abag.ca.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox