Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yobil-0002Ef-Iw for pgsql-committers@arkaria.postgresql.org; Sat, 02 May 2015 18:00:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yobil-0007LQ-2K for pgsql-committers@arkaria.postgresql.org; Sat, 02 May 2015 18:00:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yobij-0007Jn-W8 for pgsql-committers@postgresql.org; Sat, 02 May 2015 18:00:58 +0000 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Yobig-000074-Mo for pgsql-committers@postgresql.org; Sat, 02 May 2015 18:00:57 +0000 Received: from mfilter34-d.gandi.net (mfilter34-d.gandi.net [217.70.178.165]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id 619FEFB8A1; Sat, 2 May 2015 20:00:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter34-d.gandi.net Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter34-d.gandi.net (mfilter34-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id QTlVZUwgF7Aq; Sat, 2 May 2015 20:00:51 +0200 (CEST) X-Originating-IP: 98.27.58.255 Received: from [192.168.10.146] (cpe-98-27-58-255.nc.res.rr.com [98.27.58.255]) (Authenticated sender: adsend@dunslane.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 94609FB86F; Sat, 2 May 2015 20:00:50 +0200 (CEST) Message-ID: <554510D1.2030802@dunslane.net> Date: Sat, 02 May 2015 14:00:49 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Peter Eisentraut , pgsql-committers@postgresql.org Subject: Re: pgsql: Make hstore_plperl's build even more like plperl's References: <55448BAB.1000702@dunslane.net> <5544BD8A.5050802@gmx.net> <5544DD48.80307@dunslane.net> <5544E1C9.5050009@gmx.net> <5544E7AC.9030106@dunslane.net> <55450325.6090204@gmx.net> In-Reply-To: <55450325.6090204@gmx.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 05/02/2015 01:02 PM, Peter Eisentraut wrote: > On 5/2/15 11:05 AM, Andrew Dunstan wrote: >> Note that the override is EXACTLY what is done unconditionally in the >> plperl GNUmakefile: >> >> override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS) >> -I$(perl_archlibexp)/CORE > The override is a red herring. It's done this way because all CPPFLAGS > settings have to be done with override, for unrelated reasons. In a > pgxs build, however, you can set PG_CPPFLAGS, which is later put into > CPPFLAGS with override. > > Also, requiring that -I$(perl_archlibexp)/CORE is last seems bizarre. > That would mean that an earlier include directory contains a file that > is also in .../CORE, and you don't want to the one in .../CORE. In that > case, why add .../CORE at all? We get Perl headers from .../CORE, and > that would then mean that other include directories contain some Perl > headers that you want to use in preference to the ones in .../CORE, but > at the same time you want the ones in .../CORE as a fallback. > > That might possibly be the actual case, but it would be quite odd and > should be properly explained for posterity. > > here's a list of the .h files in perl's CORE library on jacana. I can see plenty of opportunities for conflict there. cheers andrew arps/inet.h av.h bitcount.h BuildInfo.h charclass_invlists.h config.h cop.h cv.h dirent.h dosish.h embed.h embedvar.h EXTERN.h fakesdio.h fakethr.h feature.h form.h git_version.h gv.h handy.h hv.h INTERN.h intrpvar.h iperlsys.h keywords.h l1_char_class_tab.h malloc_ctl.h metaconfig.h mg.h mg_data.h mg_raw.h mg_vtable.h mydtrace.h netdb.h nostdio.h op.h opcode.h opnames.h op_reg_common.h overload.h pad.h parser.h patchlevel.h perl.h perlapi.h perlhost.h perlio.h perliol.h perlsdio.h perlsfio.h perlvars.h perly.h pp.h pp_proto.h proto.h reentr.h regcharclass.h regcomp.h regexp.h regnodes.h scope.h sv.h sys/socket.h thread.h time64.h time64_config.h uconfig.h unixish.h utf8.h utfebcdic.h util.h uudmap.h vdir.h vmem.h warnings.h win32.h win32iop-o.h win32iop.h win32thread.h wince.h XSUB.h -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers