Re: production server down
От | Tom Lane |
---|---|
Тема | Re: production server down |
Дата | |
Msg-id | 2608.1103130354@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: production server down (Joe Conway <mail@joeconway.com>) |
Ответы |
Re: production server down
|
Список | pgsql-hackers |
Joe Conway <mail@joeconway.com> writes: > Before running pg_resetxlog, a couple of questions: > 1. Since it appears that pg_control is suspect, should I force it to be > rebuilt, and if so, how? pg_resetxlog will rebuild it in any case. However it will re-use the existing contents as much as it can (if you don't use any of the command line options to override values). Given Alvaro's observation that the existing file looks suspiciously close to a freshly-initdb'd one, I don't think you want to trust the existing contents. > 2. At the end of GuessControlValues is this comment: > /* > * XXX eventually, should try to grovel through old XLOG to develop > * more accurate values for startupid, nextXID, and nextOID. > */ > What would be involved in doing this, and do you think it would be > worth it? What if anything have you got in $PGDATA/pg_xlog? regards, tom lane
В списке pgsql-hackers по дате отправления: