Re: pgbench --startup option - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pgbench --startup option
Date
Msg-id CA+TgmoYJektX7vd9FyveQLuq+4SW9C7wzZbLL3=da-712uxrCA@mail.gmail.com
Whole thread Raw
In response to Re: pgbench --startup option  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: pgbench --startup option
Re: pgbench --startup option
List pgsql-hackers
On Thu, Jun 20, 2013 at 1:46 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> I've fixed a conflict, and I've removed extraneous semicolons from the C.
>
> I've left in the fixing of some existing bad indenting in the existing code,
> which is not strictly related to my change.

OK, I like this idea a lot, but I have a question.  Right now, to use
this, you have to supply the startup SQL on the command line.  And
that could definitely be useful.  But ISTM that you might also want to
take the startup SQL from a file, and indeed you might well want to
include metacommands in there.  Maybe that's getting greedy, but the
rate at which people are adding features to pgbench suggests to me
that it won't be long before this isn't enough.

Thoughts?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Hash partitioning.
Next
From: "Joshua D. Drake"
Date:
Subject: Re: C++ compiler