Re: postgres version problem - Mailing list pgsql-novice

From Shmagi Kavtaradze
Subject Re: postgres version problem
Date
Msg-id CAHY6maxT=SG5n_r15q0sEGDePCqfMtW2fYRbSBaNZ0yg_ibp8A@mail.gmail.com
Whole thread Raw
In response to Re: postgres version problem  (Payal Singh <payal@omniti.com>)
List 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@omniti.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.s@gmail.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.schroeder@gmail.com> wrote:
On Mon, Feb 15, 2016 at 6:17 AM, Shmagi Kavtaradze
<kavtaradze.s@gmail.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.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote



pgsql-novice by date:

Previous
From: Payal Singh
Date:
Subject: Re: postgres version problem
Next
From: Shmagi Kavtaradze
Date:
Subject: Optimizing the Query