diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2014-01-17 16:52:06 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2014-01-17 16:52:06 -0500 |
commit | e6170126fc201052b0ec5fc92177eb181d602d26 (patch) | |
tree | 37c4660bd45764fa9737967f6e92a88bee19c5fb /src/backend/regex/regerror.c | |
parent | 708c529c7fdeba9387825d746752fc6f439d781e (diff) | |
download | postgresql-e6170126fc201052b0ec5fc92177eb181d602d26.tar.gz postgresql-e6170126fc201052b0ec5fc92177eb181d602d26.zip |
Add gen_random_uuid() to contrib/pgcrypto.
This function provides a way of generating version 4 (pseudorandom) UUIDs
based on pgcrypto's PRNG. The main reason for doing this is that the
OSSP UUID library depended on by contrib/uuid-ossp is becoming more and
more of a porting headache, so we need an alternative for people who can't
install that. A nice side benefit though is that this implementation is
noticeably faster than uuid-ossp's uuid_generate_v4() function.
Oskari Saarenmaa, reviewed by Emre Hasegeli
Diffstat (limited to 'src/backend/regex/regerror.c')
0 files changed, 0 insertions, 0 deletions