| От | Tom Lane |
|---|---|
| Тема | Re: XID wraparound and busy databases |
| Дата | |
| Msg-id | 7968.1187215570@sss.pgh.pa.us обсуждение |
| Ответ на | Re: XID wraparound and busy databases (Robert Treat <xzilla@users.sourceforge.net>) |
| Ответы |
Re: XID wraparound and busy databases
|
| Список | pgsql-hackers |
Robert Treat <xzilla@users.sourceforge.net> writes:
> I'm a little confused, wouldnt the transaction that waits 30 minutes before
> modifying data need to get an XID that jives with the system when it's
> transaction started, not when it began manipulating data?
Why?
> Would it really be safe to take a new snapshot at that time,
You wouldn't take a new snapshot. The thought that occurs to me is that
there's no reason that a transaction has to have an XID for itself
before it takes a snapshot. We always special-case our own XID anyway.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера