Bruce Momjian <[EMAIL PROTECTED]> writes: > ... It will be tricky to manage multiple > alarms in a single process, but it can be done by creating an alarm > queue.
I would argue that we should only support *one* kind of timeout, either transaction-level or statement-level, so as to avoid that complexity. I don't want to see us gilding the lily in the first implementation of something that IMHO is of dubious usefulness in the first place. We can think about extending the facility later, when and if it proves sufficiently useful to justify more complexity. I don't have a very strong feeling about whether transaction-level or statement-level is more useful; am willing to do whichever one the JDBC spec wants. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org