Document new SET SEED command.
authorThomas G. Lockhart
Fri, 7 Apr 2000 13:31:18 +0000 (13:31 +0000)
committerThomas G. Lockhart
Fri, 7 Apr 2000 13:31:18 +0000 (13:31 +0000)
doc/src/sgml/ref/set.sgml

index 434fede66b7978812ae295bd688661c837eb14d8..f6e7a68cdca53709ee3abd036dfe41dee0e793e6 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -201,6 +201,44 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZABLE }
       
      
 
+     
+      Seed
+      
+       
+   Sets the internal seed for the random number generator.
+   
+   
+    
+     value
+     
+      
+       The value for the seed to be used by the
+       random catalog function. Significant
+       values are floating point numbers between 0 and 1, which
+       are then multiplied by RAND_MAX. This product will
+       silently overflow if a number outside the range is used.
+      
+
+      
+       The seed can also be set by invoking the
+       setseed SQL function:
+
+       
+SELECT setseed(value);
+       
+      
+     
+    
+   
+       
+
+       
+   This option is only available if MULTIBYTE support was enabled
+   during the configure step of building Postgres.
+       
+      
+     
+
      
       SERVER_ENCODING