Re: pgbench -M option can be specified more than once - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pgbench -M option can be specified more than once
Date
Msg-id alpine.DEB.2.21.1811030826460.7070@lancre
Whole thread Raw
In response to pgbench -M option can be specified more than once  (Tatsuo Ishii <ishii@sraoss.co.jp>)
List pgsql-hackers
Hello Tatsuo-san,

> While playing with pgbench, I found multiple "-M query_mode" can be
> set more than once.

As already said by others, the "last one win" is somehow a useful feature, 
so I'd prefer avoiding erroring out on this one.

This could leave:

(1) improving pgbench doc by spelling out the last one win behavior, but 
this is rather standard ;

(2) only warning when this accurs, but that would become noisy for 
legitimate uses ;

(3) doing nothing about it.

-- 
Fabien.


pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: WIP: Avoid creation of the free space map for small tables
Next
From: Vincent Mirian
Date:
Subject: Re: Hooks to Modify Execution Flow and Query Planner