Thread: pgsql: Fix genbki.pl and Gen_fmgrtab.pl to use PID-specific temp file

pgsql: Fix genbki.pl and Gen_fmgrtab.pl to use PID-specific temp file

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix genbki.pl and Gen_fmgrtab.pl to use PID-specific temp file names,
so that it's safe if a parallel make chooses to run two concurrent copies.
Also, work around a memory leak in some versions of Perl.

Modified Files:
--------------
    pgsql/src/backend/catalog:
        Catalog.pm (r1.2 -> r1.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/Catalog.pm?r1=1.2&r2=1.3)
        genbki.pl (r1.3 -> r1.4)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/genbki.pl?r1=1.3&r2=1.4)
    pgsql/src/backend/utils:
        Gen_fmgrtab.pl (r1.4 -> r1.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/Gen_fmgrtab.pl?r1=1.4&r2=1.5)