| От | Alvaro Herrera |
|---|---|
| Тема | Re: Check what a transaction did in the past |
| Дата | |
| Msg-id | 20100216162751.GH5330@alvh.no-ip.org обсуждение |
| Ответ на | Check what a transaction did in the past (manugarciac <manugarciac@hotmail.com>) |
| Ответы |
Re: Check what a transaction did in the past
|
| Список | pgsql-general |
manugarciac wrote: > > I have an Idle in transaction that's really long. I suspect there is a > problem in my application, but I can't figure out where. If I new which > queries that transaction did in the past, it would really help me find the > problem. I know the transaction id, the process id, everything there is to > know, except the queries it did in the past. Is there any way to check this? Turn on log_statements and check the log. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера