View Single Post

   
  #5 (permalink)  
Old 04-12-2008, 09:45 AM
Tom Lane
 
Posts: n/a
Default Re: Invalid magic number in log file?

Alvaro Herrera <alvherre@commandprompt.com> writes:
> Maybe the thing to do here is to disallow running a postmaster when the
> data dir is using a different WAL magic (forcing you to pg_resetxlog or
> initdb).


Which, curiously enough, is exactly what it does ...

I'm not particularly concerned with the user-friendliness of the error
message, since this case would never arise for normal users (the
PG_VERSION check would fire first in any cross-version compatibility
situation). It only matters for hackers tracking CVS HEAD.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote