From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Jelle Ouwerkerk <jelle@openface.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: random
Date: Mon, 05 Mar 2001 16:34:31 -0500
Message-ID: <20932.983828071@sss.pgh.pa.us> (raw)
In-Reply-To: <200103052129.QAA03712@candle.pha.pa.us>
References: <200103052129.QAA03712@candle.pha.pa.us>
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> But random returns a random value from 0-1, right? How does that work
> in ORDER BY?
What's the problem? Each row gets a different random value, then we
sort.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgman@candle.pha.pa.us, jelle@openface.ca
Subject: Re: random
In-Reply-To: <20932.983828071@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