X-Original-To: pgsql-general-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 386229FA4A8 for ; Mon, 12 Jun 2006 19:58:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 41969-03 for ; Mon, 12 Jun 2006 19:58:11 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A70EB9FA10A for ; Mon, 12 Jun 2006 19:58:12 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k5CMw6TI013440; Mon, 12 Jun 2006 18:58:06 -0400 (EDT) To: "Milen Kulev" cc: pgsql-general@postgresql.org Subject: Re: Partitioning... In-reply-to: <007701c68e6f$0e992770$0a00a8c0@trivadis.com> References: <007701c68e6f$0e992770$0a00a8c0@trivadis.com> Comments: In-reply-to "Milen Kulev" message dated "Tue, 13 Jun 2006 00:25:05 +0200" Date: Mon, 12 Jun 2006 18:58:06 -0400 Message-ID: <13439.1150153086@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/474 X-Sequence-Number: 96846 "Milen Kulev" writes: > What is wrong with random() ? Not guaranteed to be stable across the multiple evaluations that the rule will perform ... remember a rule is a macro and has the usual multiple-evaluation gotchas in the face of volatile arguments. regards, tom lane