Re: [RFC] Should smgrtruncate() avoid sending sinval message for temp relations
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [RFC] Should smgrtruncate() avoid sending sinval message for temp relations |
| Дата | |
| Msg-id | 29607.1406128116@sss.pgh.pa.us обсуждение |
| Ответ на | [RFC] Should smgrtruncate() avoid sending sinval message for temp relations ("MauMau" <maumau307@gmail.com>) |
| Ответы |
Re: [RFC] Should smgrtruncate() avoid sending sinval message for temp relations
|
| Список | pgsql-hackers |
"MauMau" <maumau307@gmail.com> writes:
> Looking at smgrtruncate(), the sinval message is sent even when the
> truncated relation is a temporary relation. However, I think the sinval
> message is not necessary for temp relations, because each session doesn't
> see the temp relations of other sessions.
This seems like a pretty unsafe suggestion, because the smgr level doesn't
know or care whether relations are temp; files are files. In any case it
would only paper over one specific instance of whatever problem you're
worried about, because sinval messages definitely do need to be sent in
general.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера