pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Peter Eisentraut <peter_e@gmx.net>
To: Michael Paquier <michael.paquier@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Add transforms feature
Date: Mon, 27 Apr 2015 19:54:28 -0400
Message-ID: <553ECC34.2090104@dunslane.net> (raw)
In-Reply-To: <553E29B5.9000102@gmx.net>
References: <E1YmNw0-0002Kb-3Q@gemulon.postgresql.org>
	<18844.1430066190@sss.pgh.pa.us>
	<CAB7nPqRE6PpdMbwvytXCcKsnwg-TKM=0sfsH=DoCRKEvJVusKw@mail.gmail.com>
	<553E29B5.9000102@gmx.net>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>


On 04/27/2015 08:21 AM, Peter Eisentraut wrote:
> On 4/27/15 2:23 AM, Michael Paquier wrote:
>> On Mon, Apr 27, 2015 at 1:36 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Peter Eisentraut <peter_e@gmx.net> writes:
>>>> Add transforms feature
>>> I don't know why this patch is fooling around with compile/link flags,
>>> but it's broken at least prairiedog and some of the Windows critters.
>> It breaks as well on all the Windows machines using MS or VC toolchains...
> The failure on bowerbird (Windows msvc) is because the build system
> needs to be told to add additional include directories to the compilation.
>
> The failure on frogmouth (Windows gcc) is because of some conflict with
> perl headers.  I must have missed a trick that was already in use for
> plperl.
>
> Help in either case, but especially the first one, is welcome.
>
>


I haven't looked at the MSVC case yet, but one thing I notice on jacana 
(Windows 8.1, gcc) is that the order of include directories is 
different. When compiling plperl, the perl CORE directory is last in the 
include list, whereas for compiling hstore_plperl it's second from the 
beginning. I have no idea yet if that makes any difference, but would 
not be at all surprised it if did. We should probably be mimicking what 
the plperl makefile does.

Incidentally, I notice that hstore_plperl.c doesn't have a copyright 
notice nor a single comment, not even at the start of the public 
functions. That seems less than good.

cheers

andrew


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (28+ messages)  latest in thread

Message-ID: <553ECC34.2090104@dunslane.net>
Permalink:  ../553ECC34.2090104@dunslane.net/
Also on:    postgresql.org/message-id/553ECC34.2090104@dunslane.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, peter_e@gmx.net, michael.paquier@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add transforms feature
  In-Reply-To: <553ECC34.2090104@dunslane.net>

* 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