Re: "ERROR: could not read block 6 ...: read only 0 of 8192 bytes" after autovacuum cancelled
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: "ERROR: could not read block 6 ...: read only 0 of 8192 bytes" after autovacuum cancelled |
| Дата | |
| Msg-id | 20537.1257366090@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | "ERROR: could not read block 6 ...: read only 0 of 8192 bytes" after autovacuum cancelled (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: "ERROR: could not read block 6 ...: read only 0 of
8192 bytes" after autovacuum cancelled
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> What I thought could have happened is that the table was truncated, and
> then the sinval message telling that to other backends was not sent due
> to the rollback.
Hmm.
> So far as I can see, what we need is to make sure the sinval message is
> sent regardless of transaction commit/abort. How can that be done?
I would argue that once we've truncated, it's too late to abort. The
interrupt facility should be disabled from just before issuing the
truncate till after commit. It would probably be relatively painless to
do that with some manipulation of the interrupt holdoff stuff.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера