"Zeugswetter Andreas SB SD" <[EMAIL PROTECTED]> writes: >> } while (z <= 0 || z >= MAX_RANDOM_VALUE);
> Ah, yes ! That also works and is a lot nicer. Can you please apply ? Done. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org