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" <makulev@gmx.net> 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