From: | Atri Sharma <atri(dot)jiit(at)gmail(dot)com> |
---|---|
To: | Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Regarding parallel running of 9.1 and 9.2beta2 |
Date: | 2012-06-29 11:57:16 |
Message-ID: | CAOeZVidFwMBQFU_Vki8cvSjo4LOxnLdYMmoBjahp2otGfDAr6g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Jun 29, 2012 at 5:12 PM, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> 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(at)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
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2012-06-29 13:31:30 | Re: Regarding parallel running of 9.1 and 9.2beta2 |
Previous Message | Albe Laurenz | 2012-06-29 11:42:04 | Re: Regarding parallel running of 9.1 and 9.2beta2 |