pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedStatement Timeout at User Level
2+ messages / 2 participants
[nested] [flat]
* Statement Timeout at User Level
@ 2008-09-18 05:07 Gauri Kanekar <meetgaurikanekar@gmail.com>
2008-09-18 07:34 ` Re: Statement Timeout at User Level Albe Laurenz <laurenz.albe@wien.gv.at>
0 siblings, 1 reply; 2+ messages in thread
From: Gauri Kanekar @ 2008-09-18 05:07 UTC (permalink / raw)
To: pgsql-performance
Hi,
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.
--
Regards
Gauri
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Statement Timeout at User Level
2008-09-18 05:07 Statement Timeout at User Level Gauri Kanekar <meetgaurikanekar@gmail.com>
@ 2008-09-18 07:34 ` Albe Laurenz <laurenz.albe@wien.gv.at>
0 siblings, 0 replies; 2+ messages in thread
From: Albe Laurenz @ 2008-09-18 07:34 UTC (permalink / raw)
To: Gauri Kanekar *EXTERN* <meetgaurikanekar@gmail.com>; pgsql-performance
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2008-09-18 07:34 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-09-18 05:07 Statement Timeout at User Level Gauri Kanekar <meetgaurikanekar@gmail.com>
2008-09-18 07:34 ` Albe Laurenz <laurenz.albe@wien.gv.at>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox