Re: Small request re error message - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Small request re error message
Date
Msg-id 200702162143.l1GLhaq17723@momjian.us
Whole thread Raw
In response to Small request re error message  (Scott Ribe <scott_ribe@killerbytes.com>)
Responses Re: Small request re error message  (Bill Moran <wmoran@collaborativefusion.com>)
List pgsql-general
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.

--
  Bruce Momjian  <bruce@momjian.us>          http://momjian.us
  EnterpriseDB                               http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-general by date:

Previous
From: Vladimir Zelinski
Date:
Subject: Re: values from now() in the same transaction
Next
From: Jan Wieck
Date:
Subject: Re: Priorities for users or queries?