"Writing" output lines during make

Started by Bruce Momjianover 7 years ago4 messageshackers
Jump to latest
#1Bruce Momjian
bruce@momjian.us

During make --silent, I occasionally see these lines:

Writing postgres.bki
Writing schemapg.h
Writing postgres.description
Writing postgres.shdescription

I can't seem to find where these lines are being output, perhaps from a
Perl library. I would like to suppress them but I don't know how.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#1)
Re: "Writing" output lines during make

Bruce Momjian <bruce@momjian.us> writes:

During make --silent, I occasionally see these lines:
Writing postgres.bki
Writing schemapg.h
Writing postgres.description
Writing postgres.shdescription

I can't seem to find where these lines are being output, perhaps from a
Perl library. I would like to suppress them but I don't know how.

That's gone as of v11 & HEAD, no?

regards, tom lane

#3John Naylor
john.naylor@enterprisedb.com
In reply to: Bruce Momjian (#1)
Re: "Writing" output lines during make

On 11/5/18, Bruce Momjian <bruce@momjian.us> wrote:

During make --silent, I occasionally see these lines:

Writing postgres.bki
Writing schemapg.h
Writing postgres.description
Writing postgres.shdescription

I can't seem to find where these lines are being output, perhaps from a
Perl library. I would like to suppress them but I don't know how.

Those should be gone as of pg11. Otherwise, those messages come from
in backend/catalog/genkbi.pl

-John Naylor

#4Bruce Momjian
bruce@momjian.us
In reply to: John Naylor (#3)
Re: "Writing" output lines during make

On Mon, Nov 5, 2018 at 01:01:47PM +0700, John Naylor wrote:

On 11/5/18, Bruce Momjian <bruce@momjian.us> wrote:

During make --silent, I occasionally see these lines:

Writing postgres.bki
Writing schemapg.h
Writing postgres.description
Writing postgres.shdescription

I can't seem to find where these lines are being output, perhaps from a
Perl library. I would like to suppress them but I don't know how.

Those should be gone as of pg11. Otherwise, those messages come from
in backend/catalog/genkbi.pl

Oh, I see it now in src/backend/catalog/Catalog.pm:

print "Writing $final_name\n";

I do make in parallel, and couldn't find a pattern for when the lines
appear, so it was hard to debug. I thought the lines were new but I
guess my --silent usage was somehow new. Thanks.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +