From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Sabino Mullane <greg@endpoint.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Failed pgbench: setrandom invalid maximum number 0
Date: Sat, 28 May 2011 23:55:01 -0400
Message-ID: <8072.1306641301@sss.pgh.pa.us> (raw)
In-Reply-To: <20110529031155.GA13070@core.home>
References: <20110529031155.GA13070@core.home>
Greg Sabino Mullane <greg@endpoint.com> writes:
> Seeing the following on an old box I use for testing various
> things. Thought it was something to do with my box at first,
> but the problem seems to only occur in >= 8.4. But it's also
> not pgbench alone, as it was working fine one day, and not the
> next. Here's what I now get on 8.4, 9.0, and 9.1:
> $ pgbench btest1 -n
> setrandom: invalid maximum number 0
That's not valid syntax. Some versions of getopt() take it upon
themselves to rearrange the switch order, some do not ...
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, greg@endpoint.com
Subject: Re: Failed pgbench: setrandom invalid maximum number 0
In-Reply-To: <8072.1306641301@sss.pgh.pa.us>
References: <20110529031155.GA13070@core.home> <8072.1306641301@sss.pgh.pa.us>
* 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