Re: How to recover data from 9.3 data directory
Julien Rouhaud <rjuju123@gmail.com>
From: Julien Rouhaud <rjuju123@gmail.com>
To: Andrus <kobruleht2@hot.ee>
Cc: pgsql-general <pgsql-general@postgresql.org>
Date: 2021-03-13T13:45:52Z
Lists: pgsql-general
Le sam. 13 mars 2021 à 21:29, Andrus <kobruleht2@hot.ee> a écrit : > 2. Tried to run old server using > C:\Program Files\PostgreSQL\9.3\bin\pg_ctl.exe" start -D > "D:/Centos93Data/data" > got error > > FATAL: database files are incompatible with server > DETAIL: The database cluster was initialized with USE_FLOAT8_BYVAL but > the server was compiled without USE_FLOAT8_BYVAL. > HINT: It looks like you need to recompile or initdb. > > I tried both 32 and 64 bit 9.3 servers in windows but error is the same. > > How to recover data from 9.3 linux directory ? > that won't work on windows. pg_upgrade only works if source and target environment are binary compatible, which isn't the case for windows / GNU Linux. >