Re: Why do we have perl and sed versions of Gen_dummy_probes?

Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>

From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker )
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>, Michael Paquier <michael@paquier.xyz>, Craig Ringer <craig.ringer@enterprisedb.com>
Date: 2021-05-06T10:13:28Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes:

> I tried to regenerate Gen_dummy_probes.pl using s2p - which doesn't seem
> to exist for modern versions of perl anymore :(

It still exists, it's just not part of the core Perl distribution any
more (since 5.22, released in 2015):

  https://metacpan.org/pod/perl5220delta#find2perl,-s2p-and-a2p-removal
  https://metacpan.org/release/App-s2p.

You can install it with `cpan App::s2p`.


- ilmari
-- 
"The surreality of the universe tends towards a maximum" -- Skud's Law
"Never formulate a law or axiom that you're not prepared to live with
 the consequences of."                              -- Skud's Meta-Law



Commits

  1. Tweak generation of Gen_dummy_probes.pl

  2. Add a README and Makefile recipe for Gen_dummy_probes.pl

  3. Remove dependency on psed for MSVC builds.