Search Postgresql Archives

Re: v8.3.4 metadata changes while users active

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux