Search Postgresql Archives

Re: statement_timeout by host?

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

 



That's definitely an option, and that's what I had slated to use as my backup plan.  But I wanted to make sure there wasn't the ability to do it by host before I went down that path, as it would be a somewhat cleaner fit in our setup.

Thanks!
Dave

On Tue, Oct 21, 2008 at 1:57 PM, Jeff Davis <pgsql@xxxxxxxxxxx> wrote:
On Mon, 2008-10-20 at 17:22 -0700, Dave Fry wrote:
> Hello.   Is it possible to set a statement_timeout by host, such that
> requests from only that host will be limited?
>

Can you set it by user instead, and have different hosts connect using
different users?

ALTER USER foo SET statement_timeout='2s';

Regards,
       Jeff Davis



[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