Kris Jurka <[EMAIL PROTECTED]> writes:
> On Wed, 11 Apr 2007, Tom Lane wrote:
>> Kris Jurka <[EMAIL PROTECTED]> writes:
>>> Why doesn't setseed complain when given a seed value outside of its
>>> expected range?
>> 
>> Why should it complain?  The use of the value is totally unspecified
>> anyway.

> Because the user is likely using it incorrectly.

It's not really possible to use it "incorrectly", AFAICS.  Any value you
might pass to it will result in a specific new seed value.  Nowhere is
there any guarantee of what the mapping is, and it's obviously
impossible to guarantee that the mapping is one-to-one, so any user
assumptions about what a specific seed value might "mean" seem broken
regardless.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to