↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / Mathematical Functions And Operators

Sets the seed for subsequent random() and random_normal() calls; argument must be between -1.0 and 1.0, inclusive

Reading PG 18current·documented in 24 of 27 versions, 7.4 to 20

Signatures & examples

setseed ( double precision ) → void
Sets the seed for subsequent random() and random_normal() calls; argument must be between -1.0 and 1.0, inclusive
Version history 8
  1. 15 → 16 changed
  2. 12 → 13 changed
  3. 8.3 → 8.4 changed
  4. 8.2 → 8.3 changed
  5. 8.1 → 8.2 changed
  6. 8.0 → 8.1 changed
  7. 7.4 → 8.0 changed
  8. 7.3 → 7.4 added

Definition snapshot: b7bd9cda · English manual source