No instance of Postgres 10 running. I took Tom's suggestion: I ran dpkg -S
/usr/include/postgresql/pg_config.h
Result: libpq-dev: /usr/include/postgresql/pg_config.h

Here is the result from dpkg-query -l | grep libpq

ii  libpq-dev                                     10.0-1.pgdg16.04+1
                                   amd64        header files for libpq5
(PostgreSQL library)
ii  libpq5:amd64                                  10.0-1.pgdg16.04+1
                                   amd64        PostgreSQL C client library

So thanks to all of your help, I've identified the culprit.

Any suggestions on what to do next?



On Fri, Jan 5, 2018 at 12:19 PM, Adrian Klaver <adrian.kla...@aklaver.com>
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
>>
>>
>>
>
>
> --
> Adrian Klaver
> adrian.kla...@aklaver.com
>

Reply via email to