Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 8B8179FB7B2 for ; Wed, 11 Apr 2007 11:48:54 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 35235-08 for ; Wed, 11 Apr 2007 11:48:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 1E00C9FB7FF for ; Wed, 11 Apr 2007 11:48:48 -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 l3BEmhAx015861; Wed, 11 Apr 2007 10:48:43 -0400 (EDT) To: Kris Jurka cc: Xavier Poinsard , pgsql-jdbc@postgresql.org Subject: Re: random escape function In-reply-to: References: Comments: In-reply-to Kris Jurka message dated "Wed, 11 Apr 2007 04:21:38 -0400" Date: Wed, 11 Apr 2007 10:48:43 -0400 Message-ID: <15860.1176302923@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/22 X-Sequence-Number: 16871 Kris Jurka writes: > Also the spec doesn't say what rand is actually supposed to do. What is > the purpose of providing a rand function if you have to supply a seed > every single time. Is it really a seed? Maybe it's supposed to be the desired range of the output, or something. regards, tom lane