Re: statement_timeout by host?

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: dave(at)davefry(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: statement_timeout by host?
Date: 2008-10-21 20:57:52
Message-ID: 1224622672.25425.37.camel@dell.linuxdev.us.dell.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2008-10-21 21:23:12 Re: text array accumulate to multidimensional text array
Previous Message Ivan Sergio Borgonovo 2008-10-21 18:37:26 tsearch2: setting weights on tsquery plainto_tsquery with | or and weight