Re: pgbench post-connection command - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgbench post-connection command
Date
Msg-id 21081.1326382009@sss.pgh.pa.us
Whole thread Raw
In response to pgbench post-connection command  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: pgbench post-connection command
Re: pgbench post-connection command
Re: pgbench post-connection command
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> New -x option for pgbench executes the given command once after
> connection of each session.

This seems rather poorly designed, mainly because there's no reason to
think that a single command would be sufficient.

What would make more sense to me is to add an option for a one-time
script, or possibly extend the script language to allow marking some
commands as "do once".
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: JSON for PG 9.2
Next
From: Tom Lane
Date:
Subject: Re: Remembering bug #6123