From: | Shmagi Kavtaradze <kavtaradze(dot)s(at)gmail(dot)com> |
---|---|
To: | Payal Singh <payal(at)omniti(dot)com>, pgsql-novice(at)postgresql(dot)org |
Subject: | Re: postgres version problem |
Date: | 2016-02-15 16:26:08 |
Message-ID: | CAHY6maxT=SG5n_r15q0sEGDePCqfMtW2fYRbSBaNZ0yg_ibp8A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
It was my mistake from the beginning. I installed postgresql-server-dev-9.5
and it fixed my problem. After this I ran " sudo find / -name pg_config?"
and it showed both 9.4 and 9.5
On Mon, Feb 15, 2016 at 5:13 PM, Payal Singh <payal(at)omniti(dot)com> wrote:
> What's the output of sudo find / -name pg_config? Also, can you check the
> pg_config in 9.4 directory is version 9.4 and not 9.5? (pg_config --version)
>
> Payal Singh,
> Database Administrator,
> OmniTI Computer Consulting Inc.
> Phone: 240.646.0770 x 253
>
> On Mon, Feb 15, 2016 at 10:21 AM, Shmagi Kavtaradze <
> kavtaradze(dot)s(at)gmail(dot)com> wrote:
>
>> 1. Ubuntu 12.04
>> 2. I just ran "sudo apt-get install postgresql". I installed this after
>> installing ubuntu.
>> 3. sudo dpkg --purge postgresql-9.4
>> 4. Afte uninstaling 9.4 I again tried "sudo apt-get install postgresq"
>> and it installed 9.5
>> 5. Version is 9.5, I can create table, insert data and run queries.
>>
>>
>> On Mon, Feb 15, 2016 at 4:09 PM, Hassan Schroeder <
>> hassan(dot)schroeder(at)gmail(dot)com> wrote:
>>
>>> On Mon, Feb 15, 2016 at 6:17 AM, Shmagi Kavtaradze
>>> <kavtaradze(dot)s(at)gmail(dot)com> wrote:
>>> > When I first installed postgres it was 9.4 vesrion. Then I uninstalled
>>> 9.4
>>> > and installed 9.5. I wanted to install extension, but it was
>>> installing in
>>> > 9.4 directory. When I started searching for the solution, turned out
>>> that
>>> > pg_config I have is in "/usr/lib/postgresql/9.4/bin/pg_config".
>>>
>>> What OS?
>>>
>>> How did you install 9.4?
>>> How did you (attempt to) uninstall 9.4?
>>> How did you (attempt to) install 9.5?
>>> What makes you think 9.5 is currently successfully installed?
>>>
>>> --
>>> Hassan Schroeder ------------------------ hassan(dot)schroeder(at)gmail(dot)com
>>> http://about.me/hassanschroeder
>>> twitter: @hassan
>>> Consulting Availability : Silicon Valley or remote
>>>
>>
>>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Shmagi Kavtaradze | 2016-02-16 16:39:34 | Optimizing the Query |
Previous Message | Payal Singh | 2016-02-15 16:13:08 | Re: postgres version problem |