Re: Autovacuum in the backend

Поиск
Список
Период
Сортировка
От Matthew T. O'Connor
Тема Re: Autovacuum in the backend
Дата
Msg-id 42B0F519.30604@zeut.net
обсуждение исходный текст
Ответ на Re: Autovacuum in the backend  (Alvaro Herrera <alvherre@surnet.cl>)
Ответы Re: Autovacuum in the backend  (Alvaro Herrera <alvherre@surnet.cl>)
Список pgsql-hackers
Alvaro Herrera wrote:

>A question for interested parties.  I'm thinking in handling the
>user/password issue by reading the flat files (the copies of pg_shadow,
>pg_database, etc).
>
>The only thing that I'd need to modify is add the datdba field to
>pg_database, so we can figure out an appropiate user for vacuuming each
>database.
>
>What do people think?
>  
>

I probably don't understand all the issue involved here but reading 
pg_shadow by hand seems problematic.  Do you constantly re-read it?  
What happens when a new user is added etc....

Can't autovacuum run as a super-user that can vacuum anything?


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Two-phase commit
Следующее
От: Russell Smith
Дата:
Сообщение: Re: Autovacuum in the backend