Re: reduce size of logs stored by buildfarm

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: Andres Freund <andres@anarazel.de>, Andrew Dunstan <andrew@dunslane.net>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-11-25T18:14:56Z
Lists: pgsql-hackers
On 2025-Nov-25, Andrew Dunstan wrote:

> I think his patches 1 and 3 seem like no-brainers.


On 2025-Nov-25, Andres Freund wrote:

> On 2025-11-25 14:30:33 +0100, Álvaro Herrera wrote:
> > I just noticed that one regress log file for the pg_dump test is about
> > 7MB long because it contains totally unnecessary dump files in the
> > regress log output.  This is because the tests run pg_dump of schema
> > pg_catalog without redirecting the output anywhere, which means it goes
> > to stdout, and then `prove` helpfully puts it in the regress log file.
> > This is completely pointless.  We can make the log file 1 MB instead by
> > adding a --file parameter to that command, as 0001 attached.
> 
> Yea, that makes no sense.

Thanks, pushed 0001.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"Postgres is bloatware by design: it was built to house
 PhD theses." (Joey Hellerstein, SIGMOD annual conference 2002)



Commits

  1. oauth_validator: Shorten JSON responses in test logs

  2. pg_dump tests: don't put dumps in stdout