Skip site navigation (1) Skip section navigation (2)

Set statement timeout in the query tool

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Set statement timeout in the query tool
Date: 2009-12-04 09:41:57
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgadmin-hackers

Someone, on a french PostgreSQL forum, ask me for a statement timeout UI in 
the query tool. Here is what I've done so far:

 * add a config in the Query tab of the Options window;
 * add a textbox in the toolbar of the query tool;
 * each query executed will first get the old statement_timeout value, set
   statement_timeout to the text box one (which is initialized with the config
   value), execute the real query, and then get back to the old value

I checked the UI on Windows, Mac OS X, and Linux.

The patch is attached.



Attachment: ticket109_v4.patch
Description: text/x-patch (14.9 KB)


pgadmin-hackers by date

Next:From: Dave PageDate: 2009-12-04 09:52:33
Subject: Re: Set statement timeout in the query tool
Previous:From: pgAdmin TracDate: 2009-12-03 21:33:13
Subject: [pgAdmin III] #109: Add statement_timeout UI on the query tool

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group