Make these scripts emit just one log message when they run, not one
per output file. The latter is way too verbose in the wake of
commit
372728b0d. The specific wording used is what already existed
in the MSVC scripts.
John Naylor
Discussion: https://postgr.es/m/11103.
1523208822@sss.pgh.pa.us
my $final_name = shift;
my $extension = shift;
my $temp_name = $final_name . $extension;
- print "Writing $final_name\n";
rename($temp_name, $final_name) || die "rename: $temp_name: $!";
}
# Generate postgres.bki, postgres.description, postgres.shdescription,
# and pg_*_d.h headers.
+print "Generating BKI files and symbol definition headers...\n";
# version marker for .bki file
print $bki "# PostgreSQL $major_version\n";
my $INTERNALlanguageId = Catalog::FindDefinedSymbolFromData(
$catalog_data{pg_language}, 'INTERNALlanguageId');
+print "Generating fmgrtab.c, fmgroids.h, and fmgrprotos.h...\n";
+
# Collect certain fields from pg_proc.dat.
my @fmgr = ();
'fmgrtab.c', '../../../src/include/access/transam.h')
)
{
- print "Generating fmgrtab.c, fmgroids.h, fmgrprotos.h...\n";
system(
"perl -I ../catalog Gen_fmgrtab.pl -I../../../src/include/ $pg_language_dat $pg_proc_dat");
}
'src/backend/catalog/postgres.bki',
"src/include/catalog/$bki"))
{
- print "Generating BKI files and symbol definition headers...\n";
chdir('src/backend/catalog');
my $bki_srcs = join(' ../../../src/include/catalog/', @bki_srcs);
system("perl genbki.pl --set-version=$self->{majorver} $bki_srcs");