In my original statement_timeout code, if a query string had multiple
statements, I would time the statements individually.  I have modified
it so it now times the entire string collectively.

Do people realize that if you pass a single string to the backend, it
makes the string into a single transaction?

        "UPDATE tab SET x=1;UPDATE tab SET y=2;"

is treated as one transaction.

-- 
  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 4: Don't 'kill -9' the postmaster

Reply via email to