Re: Temporarily suspend a user account?

From: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Temporarily suspend a user account?
Date: 2015-02-06 22:51:27
Message-ID: CAKFQuwZvUxav8Qi7Bomt+7=rMTtn4-=YYfoHokQ0tCxBvBFWfQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 6, 2015 at 3:41 PM, Felipe Gasper [via PostgreSQL] <
ml-node+s1045698n5837006h10(at)n5(dot)nabble(dot)com> wrote:

>
> So, this works when I do it manually, but not when I script it.
>
> Is it possible that this change doesn’t take effect immediately? Is
> there any way to tell when it does (besides just waiting until login
> attempts fail)?
>
>
​It should take effect when you commit the transaction in which you perform
the update...

The active sessions would remain logged in but future attempts to login
would fail.

​David J.

--
View this message in context: http://postgresql.nabble.com/Temporarily-suspend-a-user-account-tp5836978p5837007.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Felipe Gasper 2015-02-06 22:55:03 Re: Temporarily suspend a user account?
Previous Message Felipe Gasper 2015-02-06 22:40:31 Re: Temporarily suspend a user account?