Magnus Hagander wrote: > Tom Lane wrote: > > > SLEEP=`expr $RANDOM \* $REGRESSION_DURATION / 32767` > > > > Uh, where's the randomness coming from? > > ... but I should probably wait until that one is answered or fixed, I > guess :-)
bash. RANDOM Each time this parameter is referenced, a random integer between 0 and 32767 is generated. The sequence of random numbers may be initialized by assigning a value to RANDOM. If RANDOM is unset, it loses its special properties, even if it is subsequently reset. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support -- Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-patches