Re: Statement Timeout at User Level

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

 



Gauri Kanekar wrote:
> Is it possible to put Statement timeout at User Level.
> Like If i have a user like 'guest', Can i put a statement 
> timeout for it.

If only all problems were that easily solved!

ALTER ROLE guest SET statement_timeout=10000;

This will cause all statements longer than 10 seconds and issued
by "guest" to be aborted.

Yours,
Laurenz Albe


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux