Re: What generates pg_config.h?

From: rob stone <floriparob(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Travis Allison <travisallison(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What generates pg_config.h?
Date: 2018-01-05 20:49:13
Message-ID: 1515185353.3035.23.camel@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

On Fri, 2018-01-05 at 12:19 -0800, Adrian Klaver wrote:
> On 01/05/2018 11:57 AM, Travis Allison wrote:
> > Distro and version: Ubuntu 16.04 LTS.
> >
> > If memory serves, I installed 9.5 using synaptic and 9.6 using apt-
> > get,
> > where I followed the instructions from this site:
> > https://www.postgresql.org/download/linux/ubuntu/
> >
> > I also have an anaconda installation of postgresql, but that is a
> > version less than 9.6.
> >
> > Here are the results for postgresql using dpkg-query -l
>
> Well somehow a Postgres 10 version of pg_config.h got installed.
> Is there an instance of Postgres 10 running?
>
> >
> > ii postgresql 9.5+173
> > all
> > object-relational SQL database (supported
> > version)
> > ii postgresql-9.5 9.5.3-
> > 0ubuntu0.16.04
> > amd64 object-relational SQL database, version
> > 9.5 server
> > ii postgresql-9.6 9.6.5-1.pgdg16.04+2
> > amd64 object-relational SQL database, version
> > 9.6
> > server
> > ii postgresql-client-9.5 9.5.3-
> > 0ubuntu0.16.04
> > amd64 front-end programs for PostgreSQL 9.5
> > ii postgresql-client-9.6 9.6.5-1.pgdg16.04+2
> > amd64 front-end programs for PostgreSQL 9.6
> > ii postgresql-client-common 173
> > all
> > manager for multiple PostgreSQL client
> > versions
> > ii postgresql-common 173
> > all
> > PostgreSQL database-cluster manager
> > ii postgresql-contrib-9.5 9.5.3-
> > 0ubuntu0.16.04
> > amd64 additional facilities for PostgreSQL
> > ii postgresql-contrib-9.6 9.6.5-1.pgdg16.04+2
> > amd64 additional facilities for PostgreSQL
> > ii postgresql-server-dev-9.5 9.5.3-
> > 0ubuntu0.16.04
> > amd64 development files for PostgreSQL 9.5
> > server-side programming
> > ii postgresql-server-dev-9.6 9.6.5-1.pgdg16.04+2
> > amd64 development files for PostgreSQL 9.6
> > server-side programming
> >
> >
>
>
>

Shouldn't the OP check the libpq-dev libraries as well?

Not an expert. My two cents.
Rob

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Travis Allison 2018-01-05 20:51:23 Re: What generates pg_config.h?
Previous Message Adrian Klaver 2018-01-05 20:19:13 Re: What generates pg_config.h?