Script timeout - Mailing list pgsql-admin

From Roberto Grandi
Subject Script timeout
Date
Msg-id 326366447.356781.1379435002810.JavaMail.root@trovaprezzi.it
Whole thread Raw
Responses Re: Script timeout
Re: Script timeout
List 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
atthe 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


pgsql-admin by date:

Previous
From: Keith Ouellette
Date:
Subject: Re: Too many WAL archive files
Next
From: Federico
Date:
Subject: Re: Script timeout