Re: v8.3.4 metadata changes while users active

From: Bosco Rama <postgres(at)boscorama(dot)com>
To: "Gauthier, Dave" <dave(dot)gauthier(at)intel(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: v8.3.4 metadata changes while users active
Date: 2012-04-05 15:27:27
Message-ID: 4F7DB9DF.5000008@boscorama.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hey,

Gauthier, Dave wrote:
> Hmmmm... I don't have root access :-(

Do you have the ability to alter the users/roles? If so, you
could set their connection limit to 0 and then kick them off.
Do your work and then set their connection limit back to the
value it was before. The default is -1 (unlimited).

Here's how to set the connection limit:
alter role moduser connection limit 0;

This is only really viable if the set of users is small. You
mentioned only 2 before. I'm not sure if it was exactly 2 users
or 2 "types" of users.

Just a thought.

Bosco.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alain 2012-04-05 15:27:55 Re: BD impossible à recharger
Previous Message cognizant 2012-04-05 15:16:30 EDB - oracle compatibility (Nested Tables)