Skip to content

Instantly share code, notes, and snippets.

@tetri
Created September 19, 2019 22:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tetri/d4b2f6d35e6cb148f31b9928e753e194 to your computer and use it in GitHub Desktop.
Save tetri/d4b2f6d35e6cb148f31b9928e753e194 to your computer and use it in GitHub Desktop.
PostgreSQL random boolean for generate test values
SELECT RANDOM()::INT::BOOLEAN;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment