Script timeout

From: Roberto Grandi <roberto(dot)grandi(at)trovaprezzi(dot)it>
To: pgsql-admin(at)postgresql(dot)org
Subject: Script timeout
Date: 2013-09-17 16:23:22
Message-ID: 326366447.356781.1379435002810.JavaMail.root@trovaprezzi.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Dear all,

i would set a script timeout from a .net application. My problem regards how to make sure that time out will be reset at the end of the script such as

SET statement_timeout 1000
SELECT pg_sleep(2);

trowhs exception

After that

SELECT pg_sleep(2);

wouldn't throw exception.

Can you help me to solve this issue?

Many thanks in advance.

BR
Roberto

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Federico 2013-09-17 16:37:09 Re: Script timeout
Previous Message Keith Ouellette 2013-09-17 15:53:52 Re: Too many WAL archive files