Skip to content

rodo/pg_modnar

Repository files navigation

pg_modnar

Set of functions to generate random values in PostgreSQL

Install

To install the extension, start by defining your connections parameters in your shell as usual.

If your connection string is well set up, the install is easy as

$ make install

Install with pg_tle

If you work with AWS RDS you can deploy the extension with pg_tle, to build the file to deploy it just do :

$ make pgtle

And execute the file pgtle.pg_modnar-0.0.1.sql on your instance

Functions

get_random_date()
get_random_firstname()
get_random_float()
get_random_inet()
get_random_integer()
get_random_integer(minimum INTEGER, maximum INTEGER)
get_random_json()
get_random_text()
get_random_text(string_length INTEGER, possible_chars TEXT)

About

Set of functions to generate random values in PostgreSQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors