Skip site navigation (1) Skip section navigation (2)

Re: random escape function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Xavier Poinsard <xpoinsard(at)free(dot)fr>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: random escape function
Date: 2007-04-11 14:48:43
Message-ID: 15860.1176302923@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-jdbc
Kris Jurka <books(at)ejurka(dot)com> 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

In response to

Responses

pgsql-jdbc by date

Next:From: Hartmut BenzDate: 2007-04-11 15:11:09
Subject: Re: Small addition to PGInterval
Previous:From: ismo.tuononenDate: 2007-04-11 13:45:52
Subject: 7.4 driver vs 8.2 driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group