From: Tom Lane <tgl@sss.pgh.pa.us>
To: Travis Allison <travisallison@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@postgresql.org
Subject: Re: What generates pg_config.h?
Date: Fri, 05 Jan 2018 15:15:30 -0500
Message-ID: <11375.1515183330@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEJ64tbtxs5=nchxkr4GuQgoa=gGEoT1KmzG73zyPG-27TFvAg@mail.gmail.com>
References: <CAEJ64tZN99gU+1VaGjUJa8zEQia61GRhZGD-1DXjoC7jgQt2OQ@mail.gmail.com>
<59902831-ba5d-6fb9-8db8-a074c08e8106@aklaver.com>
<CAEJ64tbtxs5=nchxkr4GuQgoa=gGEoT1KmzG73zyPG-27TFvAg@mail.gmail.com>
Travis Allison <travisallison@gmail.com> writes:
> 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.
Well, this bit:
>>> /usr/include/postgresql/pg_config.h:733:0: warning: "PACKAGE_VERSION" redefined
>>> #define PACKAGE_VERSION "10.0"
is proof positive that you've got at least some pieces of a v10
installation as well. The location of the file (i.e., not under a
version-named subdirectory, like the others) suggests that that
installation was not aware of the conventions Ubuntu's packagers
like to use to separate different PG versions from each other.
And the lack of any relevant entry in the dpkg output suggests it didn't
come from any of your normal packages, either. I'm wondering about an
ill-advised manual installation from raw PG source code, for instance.
Did you check whether this file is associated with any dpkg-installed
package? (Not being an Ubuntu user, I don't know how to do that,
but I'm sure they have an equivalent of "rpm -qf".)
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, travisallison@gmail.com, adrian.klaver@aklaver.com
Subject: Re: What generates pg_config.h?
In-Reply-To: <11375.1515183330@sss.pgh.pa.us>
References: <CAEJ64tZN99gU+1VaGjUJa8zEQia61GRhZGD-1DXjoC7jgQt2OQ@mail.gmail.com> <59902831-ba5d-6fb9-8db8-a074c08e8106@aklaver.com> <CAEJ64tbtxs5=nchxkr4GuQgoa=gGEoT1KmzG73zyPG-27TFvAg@mail.gmail.com> <11375.1515183330@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox