From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | statement_timeout |
Date: | 2002-07-30 05:09:55 |
Message-ID: | 200207300509.g6U59t308505@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-07-30 05:24:56 | pgsql/ oc/src/sgml/catalogs.sgml oc/src/sgml/x ... |
Previous Message | Bruce Momjian | 2002-07-30 05:07:25 | Re: Password sub-process ... |