Re: database corruption

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: database corruption
Дата
Msg-id 20030830200439.GA12214@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: database corruption  (Joe Conway <mail@joeconway.com>)
Ответы Re: database corruption  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
On Sat, Aug 30, 2003 at 12:57:26PM -0700, Joe Conway wrote:
> Joe Conway wrote:
> >I don't have any more detail yet on exactly what he was doing at this 
> >point, but I grabbed a copy of $PGDATA and looked at it on my own 
> >machine (since he doesn't have debug and assert support). Logging into 
> >any other database works fine, but the offending database produces this 
> >backtrace:
> 
> It turns out the "corruption" was user error. He ran a statement that 
> inadvertantly set reltriggers = 1 for every row in pg_class. This is 
> what led to the infinite recursion.

For the record, how were you able to detect this?

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Ellos andaban todos desnudos como su madre los parió, y también las mujeres,
aunque no vi más que una, harto moza, y todos los que yo vi eran todos
mancebos, que ninguno vi de edad de más de XXX años" (Cristóbal Colón)


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: database corruption
Следующее
От: Joe Conway
Дата:
Сообщение: Re: database corruption