Re: setseed() doc - Mailing list pgsql-patches

From Tom Lane
Subject Re: setseed() doc
Date
Msg-id 10847.1157397584@sss.pgh.pa.us
Whole thread Raw
In response to Re: setseed() doc  (Dennis Bjorklund <db@zigo.dhs.org>)
Responses Re: setseed() doc  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Dennis Bjorklund <db@zigo.dhs.org> writes:
> What about the return value? The doc didn't say anything about it.

AFAICT it's just junk.  It happens to be the input times
MAX_RANDOM_VALUE, but what use is that?  I wonder if we shouldn't
change the function to return VOID ... that option wasn't available
when it was coded originally, else it'd probably have been done that
way.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: setseed() doc
Next
From: Tom Lane
Date:
Subject: Re: Have psql show current sequnce values - (Resubmission)