Re: connection timeouts and "killing" users

From: "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com>
To: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: connection timeouts and "killing" users
Date: 2008-09-12 02:09:55
Message-ID: 0836165E8EE50F40A3DD8F0D87137267010B109A@azsmsx421.amr.corp.intel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

OK, killing the remote users is fine. Just want ot make sure I'm not
killing some sort of shared remote server process(es) that would prevent
future remotes to connect.

-----Original Message-----
From: Scott Marlowe [mailto:scott(dot)marlowe(at)gmail(dot)com]
Sent: Thursday, September 11, 2008 5:35 PM
To: Gauthier, Dave
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] connection timeouts and "killing" users

On Thu, Sep 11, 2008 at 2:27 PM, Gauthier, Dave
<dave(dot)gauthier(at)intel(dot)com> wrote:
>
> How do I get the pids? Is there something specific I should look for
in the
> executable name I can see in "ps"?

You can either use a combination of ps and grep:

ps ax|grep postgres|grep dbname

or use the pg_stat_activity table;

> Will I break any remote server processes which are handeling remote
> attaches if I do this?

Yes, they would lose their connection. It's a choice you don't have
anymore if you're renaming databases underneath them.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Artacus 2008-09-12 02:50:48 Re: declare column update expression
Previous Message Merlin Moncure 2008-09-12 01:09:51 Re: external query VS user function