1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-24 10:47:04 +03:00
Heikki Linnakangas bf723a274c Forbid gen_random_uuid() with --disable-strong-random
Previously, gen_random_uuid() would fall back to a weak random number
generator, unlike gen_random_bytes() which would just fail. And this was
not made very clear in the docs. For consistency, also make
gen_random_uuid() fail outright, if compiled with --disable-strong-random.

Re-word the error message you get with --disable-strong-random. It is also
used by pgp functions that require random salts, and now also
gen_random_uuid().

Reported by Radek Slupik.

Discussion: https://www.postgresql.org/message-id/20170101232054.10135.50528@wrigleys.postgresql.org
2017-07-03 12:10:11 +03:00
..
2016-11-30 13:04:16 +02:00
2010-09-20 22:08:53 +02:00
2010-09-20 22:08:53 +02:00
2017-06-21 15:35:54 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:35:54 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:19:25 -04:00
2017-02-06 11:33:58 +02:00
2017-06-21 15:19:25 -04:00
2014-05-06 12:12:18 -04:00
2017-06-21 15:19:25 -04:00
2017-05-17 16:31:56 -04:00
2016-09-30 14:04:16 -04:00
2015-05-23 21:35:49 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2017-02-06 11:33:58 +02:00
2017-02-06 11:33:58 +02:00
2014-05-06 12:12:18 -04:00
2017-06-21 15:35:54 -04:00
2014-05-06 12:12:18 -04:00
2014-05-06 12:12:18 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:35:54 -04:00
2014-05-06 12:12:18 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:19:25 -04:00
2017-06-21 15:19:25 -04:00