Re: Small request re error message

Поиск
Список
Период
Сортировка
Искать
От
Bill Moran
Тема
Re: Small request re error message
Дата
Msg-id
20070216165623.4e859881.wmoran@collaborativefusion.com
Ответ на
Список
Дерево обсуждения
Small request re error message Scott Ribe <scott_ribe@killerbytes.com>
Re: Small request re error message Bruce Momjian <bruce@momjian.us>
Re: Small request re error message Bill Moran <wmoran@collaborativefusion.com>
Re: Small request re error message Bruce Momjian <bruce@momjian.us>
Re: Small request re error message Scott Ribe <scott_ribe@killerbytes.com>
Re: Small request re error message Bruce Momjian <bruce@momjian.us>
Re: Small request re error message Alvaro Herrera <alvherre@commandprompt.com>
In response to Bruce Momjian :

> Scott Ribe wrote:
> > Could the below message be modified:
> > 
> > The database cluster was initialized with PG_CONTROL_VERSION 906166272, but
> > the server was compiled with PG_CONTROL_VERSION 822.
> > 
> > By also showing the version numbers in hex, like so:
> > 
> > The database cluster was initialized with PG_CONTROL_VERSION 906166272
> > (0x36030000), but the server was compiled with PG_CONTROL_VERSION 822
> > (0x00000336).
> > 
> > This would have saved me a couple of minutes' worth of puzzlement. With Macs
> > out there that look identical between the PPC and x86 versions, this kind of
> > error has gotten a lot easier to make ;-)
> 
> I don't understand how the hex values help.

With the hex values, it becomes immediately obvious that the problem is
caused by endianess (to me, anyway)

-- 
Bill Moran
Collaborative Fusion Inc.
В списке pgsql-general по дате отправления
От: Jan Wieck
Дата:
От: Benjamin Arai
Дата:
FAQ