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 4E9C49FA4A8 for ; Mon, 12 Jun 2006 20:05:04 -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 36451-08 for ; Mon, 12 Jun 2006 20:04:58 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 579AB9FA10A for ; Mon, 12 Jun 2006 20:04:59 -0300 (ADT) Received: (qmail invoked by alias); 12 Jun 2006 23:04:56 -0000 Received: from dslb-084-057-013-058.pools.arcor-ip.net (EHLO ltmku) [84.57.13.58] by mail.gmx.net (mp039) with SMTP; 13 Jun 2006 01:04:56 +0200 X-Authenticated: #23352258 From: "Milen Kulev" To: "'Tom Lane'" Cc: Subject: Re: Partitioning... Date: Tue, 13 Jun 2006 01:04:55 +0200 Message-ID: <007b01c68e74$9e9da580$0a00a8c0@trivadis.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <13439.1150153086@sss.pgh.pa.us> X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/475 X-Sequence-Number: 96847 Aha ! Obviosly that is the reason for working sometimes properly ans sometimes not ... Thanks ! Regards. Milen -----Original Message----- From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Tom Lane Sent: Tuesday, June 13, 2006 12:58 AM To: Milen Kulev Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] Partitioning... "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 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org