Re: Better help output for pgbench -I init_steps - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Better help output for pgbench -I init_steps
Date
Msg-id a37abd83-001b-4324-d5bd-7ff0d037ef64@eisentraut.org
Whole thread Raw
In response to Re: Better help output for pgbench -I init_steps  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: Better help output for pgbench -I init_steps
List pgsql-hackers
On 12.07.23 15:41, Alvaro Herrera wrote:
> On 2023-Jul-12, Gurjeet Singh wrote:
> 
>> The init-steps are severely under-documented in pgbench --help output.
>> I think at least a pointer to the the pgbench docs should be mentioned
>> in the pgbench --help output; an average user may not rush to read the
>> code to find the explanation, but a hint to where to find more details
>> about what the letters in --init-steps mean, would save them a lot of
>> time.
> 
> Agreed.
> 
> I would do it the way `pg_waldump --rmgr=list` or `psql
> --help=variables` are handled: they give you a list of what is
> supported.  You don't have to put the list in the main --help output.

I think I prefer variant 2.  Currently we only have 8 steps, so it might 
be overkill to separate them out into a different option.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: information_schema and not-null constraints
Next
From: Ryoga Yoshida
Date:
Subject: Re: Bug fix for psql's meta-command \ev