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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix genbki.pl and Gen_fmgrtab.pl to use PID-specific temp file
Date: 2010-01-05 20:23:32
Message-ID: 20100105202332.E21DC753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-01-05 20:23:57 Re: Re: [COMMITTERS] pgsql: Get rid of the need for manual maintenance of the initial
Previous Message Stefan Kaltenbrunner 2010-01-05 19:43:56 Re: Re: [COMMITTERS] pgsql: Get rid of the need for manual maintenance of the initial