Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita65e17b

Browse files
committed
Reduce chattiness of genbki.pl and Gen_fmgrtab.pl.
Make these scripts emit just one log message when they run, not oneper output file. The latter is way too verbose in the wake ofcommit372728b. The specific wording used is what already existedin the MSVC scripts.John NaylorDiscussion:https://postgr.es/m/11103.1523208822@sss.pgh.pa.us
1 parent2cdf359 commita65e17b

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

‎src/backend/catalog/Catalog.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ sub RenameTempFile
340340
my$final_name =shift;
341341
my$extension =shift;
342342
my$temp_name =$final_name .$extension;
343-
print"Writing$final_name\n";
344343
rename($temp_name,$final_name) ||die"rename:$temp_name:$!";
345344
}
346345

‎src/backend/catalog/genbki.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@
217217

218218
# Generate postgres.bki, postgres.description, postgres.shdescription,
219219
# and pg_*_d.h headers.
220+
print"Generating BKI files and symbol definition headers...\n";
220221

221222
# version marker for .bki file
222223
print$bki"# PostgreSQL$major_version\n";

‎src/backend/utils/Gen_fmgrtab.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@
8484
my$INTERNALlanguageId = Catalog::FindDefinedSymbolFromData(
8585
$catalog_data{pg_language},'INTERNALlanguageId');
8686

87+
print"Generating fmgrtab.c, fmgroids.h, and fmgrprotos.h...\n";
88+
8789
# Collect certain fields from pg_proc.dat.
8890
my@fmgr = ();
8991

‎src/tools/msvc/Solution.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ s{PG_VERSION_STR "[^"]+"}{PG_VERSION_STR "PostgreSQL $self->{strver}$extraver, c
275275
'fmgrtab.c','../../../src/include/access/transam.h')
276276
)
277277
{
278-
print"Generating fmgrtab.c, fmgroids.h, fmgrprotos.h...\n";
279278
system(
280279
"perl -I ../catalog Gen_fmgrtab.pl -I../../../src/include/$pg_language_dat$pg_proc_dat");
281280
}
@@ -479,7 +478,6 @@ EOF
479478
'src/backend/catalog/postgres.bki',
480479
"src/include/catalog/$bki"))
481480
{
482-
print"Generating BKI files and symbol definition headers...\n";
483481
chdir('src/backend/catalog');
484482
my$bki_srcs =join(' ../../../src/include/catalog/',@bki_srcs);
485483
system("perl genbki.pl --set-version=$self->{majorver}$bki_srcs");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp