Re: Contrib PROGRAM problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Contrib PROGRAM problem
Date
Msg-id 25757.1358614632@sss.pgh.pa.us
Whole thread Raw
In response to Re: Contrib PROGRAM problem  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> *sigh*. Don't post after midnight. Of course, this isn't relevant to a 
> cross-compiling environment, where repeated invocations of make 
> repeatedly build the executables.

> The question is whether we care enough about this case to fix it.

I think we certainly need the $(X) inside the command, so that the
correct files get built.  I'm not especially excited about whether a
repeat invocation of "make" will do useless work --- that would only
really matter to a PG developer, but who'd do development in a
cross-compilation environment, where testing would be highly
inconvenient?  So I'm prepared to sacrifice that aspect of it for
not cluttering the makefiles.

YMMV of course ...
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Query to help in debugging
Next
From: Pavel Stehule
Date:
Subject: Re: proposal: fix corner use case of variadic fuctions usage