Re: [GENERAL] Corrupt database? 8.1/FreeBSD6.0

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [GENERAL] Corrupt database? 8.1/FreeBSD6.0
Дата
Msg-id 20070112201344.GJ27743@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [GENERAL] Corrupt database? 8.1/FreeBSD6.0  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: [GENERAL] Corrupt database? 8.1/FreeBSD6.0  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Alvaro Herrera wrote:
> Tom Lane wrote:
> > Alvaro Herrera <alvherre@commandprompt.com> writes:
>
> > > Maybe we could forcibly activate the freeze mode on a template database?
> >
> > Might not be a bad idea.  And even more to the point, forcibly disable
> > analyze.
>
> Patch implementing this (albeit untested!) attached.  I'll try to
> reproduce the problem without the patch, and then test with the patch
> applied.

Ok, it does what it's intended to do.  But in testing it I also
confirmed that a database-wide vacuum creates a pgstat entry for it and
for all tables in it.  Is this something we want to prevent?

I'll apply this patch later today to the 8.1 branch unless somebody
objects.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: "Guillaume Smet"
Дата:
Сообщение: Re: [PATCHES] Patch to log usage of temporary files
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Corrupt database? 8.1/FreeBSD6.0