Re: The Data Base System is in recovery mode

Поиск
Список
Период
Сортировка
От Palle Girgensohn
Тема Re: The Data Base System is in recovery mode
Дата
Msg-id 87y9zhiogn.fsf@palle.girgensohn.se
обсуждение исходный текст
Ответ на The Data Base System is in recovery mode  (Palle Girgensohn <girgen@partitur.se>)
Ответы Re: The Data Base System is in recovery mode  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane <tgl@sss.pgh.pa.us> writes:

> and GetTemplateEncoding is just about as SEGV-proof as any routine
> I've ever seen:
>
> static int    templateEncoding;
> ...
> int
> GetTemplateEncoding()
> {
>     return (templateEncoding);
> }

Heh

> I speculate that you gave gdb the wrong executable file to compare
> to the core file ...

I too had a hard time believeing it. I used xemacs (M-x gdb-with-core)
and used the core dump and /usr/local/pgsql/bin/postgres. I was
surprised that there was funcion names, since there shouldn't be any
(no debugging symbols). Hence I think too, this backtrace is
rubbish. :(

I'll see if I can get one tomorrow, but I will have to rebuild
postgres with -g and recreate the error. Problem is, I couldn't do it
on my machine. Odd...

I'll get back to you when I have more info.

Cheers,
Palle

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: The Data Base System is in recovery mode
Следующее
От: Tom Lane
Дата:
Сообщение: Re: The Data Base System is in recovery mode