Re: [COMMITTERS] pgsql: Replace duplicate_oids with Perl implementation - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [COMMITTERS] pgsql: Replace duplicate_oids with Perl implementation
Date
Msg-id 527FFD09.3050904@dunslane.net
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Replace duplicate_oids with Perl implementation  (Peter Geoghegan <pg@heroku.com>)
Responses Re: [COMMITTERS] pgsql: Replace duplicate_oids with Perl implementation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 11/10/2013 04:16 PM, Peter Geoghegan wrote:
> On Sun, Nov 10, 2013 at 1:07 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I'd argue the opposite --- the existing shell-script version is entirely
>> useless to developers running on Windows, while they could use a Perl
>> version.  Also, we've pretty much locked in the assumption that developers
>> will have Perl.
> +1.
>


It might be a bit more portable if we replaced the shebang lines on perl 
scripts with
   #!/bin/env perl

That's probably worth considering. MSVC users would still have to call 
"perl scriptname" or possibly "\path\to\perl scriptname", but I think 
that's OK, and they will have to do that anyway.

cheers

andrew



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [BUGS] BUG #7873: pg_restore --clean tries to drop tables that don't exist
Next
From: Andres Freund
Date:
Subject: Re: Re: [BUGS] BUG #7873: pg_restore --clean tries to drop tables that don't exist