Aha !
Obviosly that is the reason for working sometimes properly ans sometimes not ...
Thanks !

Regards. Milen

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> 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


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to