From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org, "Dave Page" <dpage(at)postgresql(dot)org>, "Stefan Schwarzer" <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>, "Martijn van Oosterhout" <kleptog(at)svana(dot)org> |
Subject: | Re: Forgot to dump old data before re-installing machine |
Date: | 2008-01-18 17:12:59 |
Message-ID: | 10156.1200676379@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-patches |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> What might be better is if we had an explicit endianness mark in pg_control
> rather than relying on users discovering endianness problems by seemingly
> corrupted version numbers.
Chicken-and-egg problem there: you won't know if there's an endianness
flag to check without having tested pg_control_version.
What would work better is to add some code that checks whether
pg_control_version looks like the byte-swap of a small number,
and prints a suitably modified error message if so.
I would not previously have thought this was worth the trouble,
but given what we now know about Apple's migration process,
it might be worth another half dozen lines of code and a new
error message.
What was that about string freeze ;-) ?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Glyn Astill | 2008-01-18 17:17:10 | Stupid question about WAL archiving |
Previous Message | Hannes Dorbath | 2008-01-18 17:10:44 | Re: [OT] RAID controllers blocking one another? |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2008-01-18 17:19:01 | Re: Forgot to dump old data before re-installing machine |
Previous Message | Tom Lane | 2008-01-18 17:08:13 | Re: Forgot to dump old data before re-installing machine |