| От | Tom Lane |
|---|---|
| Тема | Re: Patch: plan invalidation vs stored procedures |
| Дата | |
| Msg-id | 22145.1220987112@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Patch: plan invalidation vs stored procedures (Martin Pihlak <martin.pihlak@gmail.com>) |
| Список | pgsql-hackers |
Martin Pihlak <martin.pihlak@gmail.com> writes:
> Yes, creating a new message type was a bit short sighted -- attached is a patch
> that uses syscache invalidation messages instead. This also adds additional
> tupleId field to SharedInvalCatcacheMsg. This is used to identify the
> invalidated tuple in PROC messages, for now others still pass InvalidOid.
Applied after rather heavy revision. Aside from the gripes I had
yesterday, I found out on closer inspection that the patch did things
all wrong for the case of a not-fully-planned cache item. I ended up
discarding the existing code for that and instead using the planner
machinery to extract dependencies of a parsed querytree.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера