Re: GENERAL] Boolean error - Mailing list pgsql-general

From songsubosongtebo songsubosongtebo
Subject Re: GENERAL] Boolean error
Date
Msg-id 20041128035409.92766.qmail@web42110.mail.yahoo.com
Whole thread Raw
List pgsql-general
The sql can be predigest to:
select random() from a where random()<0.5;
\d a
       Table "public.a"
 Column |  Type   | Modifiers
--------+---------+-----------
 a      | integer |
This query can get about a half rows in the table 'a'.
When search a row, postgresql calcuate random() twice.



_________________________________________________________
Do You Yahoo!?
登記免費的 @yahoo.com 中文電子郵件 @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.mail.yahoo.com

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: (b)trim anomalies
Next
From: mstory@uchicago.edu
Date:
Subject: XUL and mozilla/firefox SQL extension