Re: unused_oids script is broken with bsd sed - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: unused_oids script is broken with bsd sed
Date
Msg-id 88a5215f-61c4-0182-7f89-0f0851b0be18@proxel.se
Whole thread Raw
In response to Re: unused_oids script is broken with bsd sed  (John Naylor <jcnaylor@gmail.com>)
Responses Re: unused_oids script is broken with bsd sed
List pgsql-hackers
On 04/26/2018 01:37 PM, John Naylor wrote:> Patch 0002 is my attempt at 
this. Not sure how portable this is. It's
> also clunkier than before in that you need to tell it where to find
> Catalog.pm, since it seems Perl won't compile unless "use lib" points
> to a string and not an expression. Suggestions welcome. I also edited
> the boilerplate comments.

What about using FindBin (http://perldoc.perl.org/FindBin.html)?

Andreas


pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Oddity in tuple routing for foreign partitions
Next
From: Ashutosh Bapat
Date:
Subject: Re: minor fix for acquire_inherited_sample_rows