Re: psql - add SHOW_ALL_RESULTS option - pg_regress output
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2022-04-06T17:05:12Z
Lists: pgsql-hackers
Hi, On 2022-04-06 10:37:29 +0200, Peter Eisentraut wrote: > On 06.04.22 04:06, Andres Freund wrote: > > On 2022-04-04 23:32:50 +0200, Peter Eisentraut wrote: > > > This has been committed. > > > > It's somewhat annoying that made pg_regress even more verbose than before: > > > > ============== removing existing temp instance ============== > > ============== creating temporary instance ============== > > ============== initializing database system ============== > > ============== starting postmaster ============== > > running on port 51696 with PID 2203449 > > ============== creating database "regression" ============== > > CREATE DATABASE > > ALTER DATABASE > > ALTER DATABASE > > ALTER DATABASE > > ALTER DATABASE > > ALTER DATABASE > > ALTER DATABASE > > ============== running regression test queries ============== > > > > Unfortunately it appears that neither can CREATE DATABASE set GUCs, nor can > > ALTER DATABASE set multiple GUCs in one statement. > > > > Perhaps we can just set SHOW_ALL_RESULTS off for that psql command? > > Do you mean the extra "ALTER DATABASE" lines? Couldn't we just turn all of > those off? AFAICT, no one likes them. Yea. Previously there was just CREATE DATABASE. And yes, it seems like we should use -q in psql_start_command(). Daniel has a patch to shrink pg_regress output overall, but it came too late for 15. It'd still be good to avoid further increasing the size till then IMO. Greetings, Andres Freund
Commits
-
psql: Show all query results by default
- 7844c9918a43 15.0 landed
- 3a5130672296 14.0 landed
-
psql: Refactor ProcessResult()
- 5519d5affdfa 15.0 landed
-
psql: Refactor SendQuery()
- 8910a25fef3d 15.0 landed
-
psql: Add test for psql behavior on server crash
- 8cd7627c7b19 15.0 landed
-
psql: Additional tests
- 9028cce426ba 15.0 landed
-
Improve some psql test code
- fbee60f6a4ff 15.0 landed
-
psql: Fix some scan-build warnings
- 390edeeb570c 15.0 landed
-
psql: Add test for handling of replication commands
- 67c069848a99 15.0 landed
-
psql: More tests
- c0280bc3edeb 15.0 landed
-
psql: Add various tests
- 14d755b00037 15.0 landed
-
psql: Add test for query canceling
- 5b3f471ff23a 15.0 landed
-
Revert "psql: Show all query results by default"
- fae65629cec8 14.0 landed
-
Extend a test case a little
- b3a9e9897ec7 14.0 landed