Re: [DOCS] gen_random_uuid security not explicit in documentation - Mailing list pgsql-docs

From Michael Paquier
Subject Re: [DOCS] gen_random_uuid security not explicit in documentation
Date
Msg-id CAB7nPqTm1SaSwaQS87Xx8Y2Zx9ZthRqwCVWtw76FVd2LqaSy7A@mail.gmail.com
Whole thread Raw
In response to Re: [DOCS] gen_random_uuid security not explicit in documentation  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: [DOCS] gen_random_uuid security not explicit in documentation
Re: [DOCS] gen_random_uuid security not explicit in documentation
List pgsql-docs
On Fri, Jun 23, 2017 at 3:02 AM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> I'm inclined to change gen_random_uuid() to throw an error if the server is
> built with --disable-strong-random, like gen_random_bytes() does. That way,
> they would behave the same.

No objections to do that. I guess you don't need a patch. As this is
new to 10, I have added an open item.

> Thoughts?

There is this comment in pgcrypto.c with a typo:
     * Generate random bits. pg_backend_random() will do here, we don't promis
s/promis/promise/.
--
Michael


pgsql-docs by date:

Previous
From: Joe Conway
Date:
Subject: Re: [DOCS] nothing ever works
Next
From: Gerard Matthews
Date:
Subject: Re: [DOCS] nothing ever works