pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Subject: pgbench - allow empty queries
Date: Sat, 9 Jul 2016 09:27:41 +0200 (CEST)
Message-ID: <alpine.DEB.2.20.1607090922170.3412@sto> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachments:

  pgbench-empty-query-1.sql (application/x-sql, 410B) download

  empty.sql (application/x-sql, 2B) download

view thread (2+ messages)  latest in thread

Message-ID: <alpine.DEB.2.20.1607090922170.3412@sto>
Permalink:  ../alpine.DEB.2.20.1607090922170.3412@sto/
Also on:    postgresql.org/message-id/alpine.DEB.2.20.1607090922170.3412@sto

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: coelho@cri.ensmp.fr
  Subject: Re: pgbench - allow empty queries
  In-Reply-To: <alpine.DEB.2.20.1607090922170.3412@sto>
  References: <alpine.DEB.2.20.1607090922170.3412@sto>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox