pgbench - allow empty queries

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: pgbench - allow empty queries
Date: 2016-07-09 07:27:41
Message-ID: alpine.DEB.2.20.1607090922170.3412@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I wanted to test overheads on an empty query, but pgbench does not allow
it. I do not see why not.

The attached very minor patch allows empty queries.

--
Fabien.

Attachment Content-Type Size
pgbench-empty-query-1.sql application/x-sql 410 bytes
empty.sql application/x-sql 2 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2016-07-09 07:48:38 pgbench - minor doc improvements
Previous Message Fabien COELHO 2016-07-09 07:09:03 pgbench - minor fix for meta command only scripts