| От | Tom Lane |
|---|---|
| Тема | Re: Strange assertion using VACOPT_FREEZE in vacuum.c |
| Дата | |
| Msg-id | 10208.1426107462@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Strange assertion using VACOPT_FREEZE in vacuum.c (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: Strange assertion using VACOPT_FREEZE in vacuum.c
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> But autovacuum is still manufacturing a VacuumStmt by hand. If we want
> to get rid of that, I think it'd work to have a new
> ExecVacuum(VacuumStmt, params) function which is called from
> standard_ProcessUtility and does just vacuum(rel, relid, params).
> Autovacuum on the other hand can call vacuum() without having to
> construct the parse node.
Why would we want to get rid of that? A struct is a handy and legible
way to pass a pile of parameters. I doubt it would be an improvement for
vacuum() to grow a long list of separate parameters.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера