On Fri, Jun 29, 2012 at 5:12 PM, Albe Laurenz <laurenz.albe@xxxxxxxxxx> wrote: > Atri Sharma wrote: >> I am running PostgreSQL 9.1 currently and I want to run 9.2beta2 >> simultaneously with it.Is it possible? >> >> I downloaded the 9.2beta2 sources,untared them and ran >> ./configure,make and make install without uninstalling 9.1. >> >> Now,when I am running pg_ctl start,I am getting the following error: >> >> pg_ctl start >> server starting >> gitc@ubuntu:~/Downloads$ FATAL: database files are incompatible with > server >> DETAIL: The data directory was initialized by PostgreSQL version 9.1, >> which is not compatible with this version 9.2beta2. >> >> Please help me.What should I be doing to recover from this error and >> get back to 9.1? > > Did you overwrite your 9.1 installation (i.e. --prefix was the same > for both installations)? > > If yes, then rebuild and reinstall 9.1, and everything should work. > > If you did not overwrite 9.1, simply use the 9.1 binaries to start > the server. > > Yours, > Laurenz Albe Hi Laurenz, Actually,I did not specify --prefix option at all in either case. I rebuilt and reinstalled 9.1,but now,as mentioned earlier,my project is not running successfully on it(I need the -ljvm flag in gcc for compilation.I am using PGXN and I added EXPORT CXXFLAG=$CXXFLAG "-ljvm" and EXPORT CFLAG=$CFLAG "-ljvm" to the makefile of my project.This was working till today morning,when I stupidly installed 9.2beta2 without specifying a new --prefix.) What should I do? Atri -- Regards, Atri l'apprenant -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general