Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXfjb-0000Rw-K2 for pgsql-general@arkaria.postgresql.org; Sat, 06 Jan 2018 04:05:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXfjb-0007OJ-3s for pgsql-general@arkaria.postgresql.org; Sat, 06 Jan 2018 04:05:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eXfja-0007O9-PR for pgsql-general@lists.postgresql.org; Sat, 06 Jan 2018 04:05:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eXfjY-00035S-Ca for pgsql-general@postgresql.org; Sat, 06 Jan 2018 04:05:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w0645EGc028315; Fri, 5 Jan 2018 23:05:14 -0500 From: Tom Lane To: Travis Allison cc: Adrian Klaver , Alvaro Herrera , floriparob@gmail.com, pgsql-general@postgresql.org, Christoph Berg Subject: Re: What generates pg_config.h? In-reply-to: References: <20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql> <20599.1515192990@sss.pgh.pa.us> <22433.1515194991@sss.pgh.pa.us> <52b48b90-159a-0341-23e1-e88e52daa86d@aklaver.com> Comments: In-reply-to Travis Allison message dated "Fri, 05 Jan 2018 20:01:48 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28313.1515211514.1@sss.pgh.pa.us> Date: Fri, 05 Jan 2018 23:05:14 -0500 Message-ID: <28314.1515211514@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Travis Allison writes: > I suppose an easy workaround is to copy my version 9.6 pg_config.h into my > user/include/postgresql directory and replace the one installed by > libpq-dev. > Can you think of any detrimental side-effects from doing that? I would not recommend that: it's likely to break code that's expecting the Ubuntu-standard layout. I think your best course is to adapt the particular package you're having trouble with to work with that layout. Maybe contact its author for help? regards, tom lane