| От | Francisco Reyes |
|---|---|
| Тема | Re: Connecting to an existing transaction state. |
| Дата | |
| Msg-id | e91fd9d0e3ecbd2fd9934bd956133965@stringsutils.com обсуждение исходный текст |
| Ответ на | Connecting to an existing transaction state. (Alex Gen <alexigen@yahoo.com>) |
| Список | pgsql-general |
On 10:37 am 07/28/08 Alex Gen <alexigen@yahoo.com> wrote: > 3. Using m01-s2.sql I would like to execute a certain SQL statement > – BUT within the scope of the transaction begun by m01-s1.sql. I believe that is not possible. Specially if you are within a transaction on each of the scripts. As far as I know all the work getting done inside a transaction is ONLY visible to that transaction. It would actually be pretty bad if the database allowed a process to see an uncommited state from a transaction that may end up rolling back. What are you trying to test? You mentioned how you are testing, but what is the business need? Or business concern? ie It could be something like.. we are concerned that if we run these two scripts one may lock the other.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера