> > > Sorry I couldn't understand your point. > > > It seems the simplest and the most certain way is to call > > > 'SET QUERY_TIMEOUT per query. The way dosen't require > > > RESET at all. Is the overhead an issue ? > > > > What about psql and libpq. Doing a timeout before every query is a > > pain. > > Psql and libpq would simply issue the query according to the > user's request as they currently do. What's pain with it ?
If they wanted to place a timeout on all queries in a session, they would need a SET for every query, which seems like a pain. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org