Re: Oops - BF:Mastodon just died

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Oops - BF:Mastodon just died
Дата
Msg-id 472.1201758340@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Oops - BF:Mastodon just died  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Oops - BF:Mastodon just died  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Yes, I have found the problem. It is this line, which I am amazed hasn't 
> bitten us before:
>         next unless /^\d/;
> The first field in the dumpbin output looks like a 3 digit hex number. 

Argh, so it was crossing a power-of-2 boundary that got us.  Good catch.

> For now I'm going try to fix it by changing it to:
>         next unless $pieces[0] =~/^[A-F0-9]{3}$/;

Check.

> I also propose to have the gendefs.pl script save the dumpbin output so 
> this sort of problem will be easier to debug.

Agreed, but I suggest waiting till 8.4 is branched unless you are really
sure about this addition.  We freeze for 8.3.0 in less than 24 hours.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Oops - BF:Mastodon just died
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Proposed patch: synchronized_scanning GUC variable