From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Bill Moran <wmoran(at)collaborativefusion(dot)com> |
Cc: | Scott Ribe <scott_ribe(at)killerbytes(dot)com>, "pgsql-general postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Small request re error message |
Date: | 2007-02-16 22:02:47 |
Message-ID: | 200702162202.l1GM2lR21117@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Bill Moran wrote:
> In response to Bruce Momjian <bruce(at)momjian(dot)us>:
>
> > 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)
Oh. Yea, I can see that, but even if the endian-ness is the same, it
still might not work. Even a different compiler flag will cause a
failure to run properly.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Benjamin Arai | 2007-02-16 22:05:50 | Re: Priorities for users or queries? |
Previous Message | Jan Wieck | 2007-02-16 22:02:09 | Re: Priorities for users or queries? |