| От | Tom Lane |
|---|---|
| Тема | Re: Further open item (Was: Status of 7.2) |
| Дата | |
| Msg-id | 2156.1006478787@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Further open item (Was: Status of 7.2) (Hannu Krosing <hannu@tm.ee>) |
| Список | pgsql-hackers |
Hannu Krosing <hannu@tm.ee> writes:
> But could we not make it so that rollback will also reset xmax and cmax
> to 0.
We never have done that and I don't see why we should start.
(And no, I'm not sure that it'd be entirely safe; there are
concurrency/atomicity issues involved, because we do not
insist on getting exclusive lock to set the it's-dead-Jim
flag bit.)
We could make the user readout of xmax/cmax be zeroes if the flag
bits show they are invalid. But this really just begs the question
of what use they are to users in the first place. I can't see any;
and if we make them read as zeroes then they for sure won't have any.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера