Re: [COMMITTERS] pgsql: Enable probes to work with Mac OS X Leopard and other OSes that - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [COMMITTERS] pgsql: Enable probes to work with Mac OS X Leopard and other OSes that
Date
Msg-id 47E15661.7030709@dunslane.net
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Enable probes to work with Mac OS X Leopard and other OSes that  (Robert Lor <Robert.Lor@Sun.COM>)
Responses Re: [COMMITTERS] pgsql: Enable probes to work with Mac OS X Leopard and other OSes that
List pgsql-hackers

Robert Lor wrote:
> Peter Eisentraut wrote:
>> Well, yes.  I meant to say, a build system that can supply the 
>> functionality of Gen_fmgrtab can surely implement this new thing.  I 
>> see there is Perl being used, so it should be simple.
>>   
> I was thinking of using a Perl script to generate the dummy header 
> file but decided against it to avoid disrupting the build on other 
> platforms. If sed doesn't work on Windows for some reason, we can use 
> a Perl script instead.
>
>

What we should do in fact is to use psed on Windows to execute the 
script. This is a sed emulator that is part of the standard perl 
install, and will save us the bother of having to maintain two 
generation scripts, or switching from sed to perl. We just need to find 
where to plug that into the Windows build process.

cheers

andrew



pgsql-hackers by date:

Previous
From: Volkan YAZICI
Date:
Subject: Re: Text <-> C string
Next
From: Simon Riggs
Date:
Subject: Re: Final Thoughts for 8.3 on LWLocking and Scalability