Re: scram and \password - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: scram and \password
Date
Msg-id CAB7nPqTjbDgCtvyMZ8erjsjzDBn9aT2TLQQ_zx2uBK6AEuz0Pg@mail.gmail.com
Whole thread Raw
In response to Re: scram and \password  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On Thu, Apr 6, 2017 at 2:11 AM, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> At a quick glance, moving pg_frontend_random() to src/common looks like a
> non-starter. It uses pglock_thread() which is internal to libpq, so it won't
> compile as it is. I think I'm going to change scram_build_verifier() to take
> a pre-generated salt as argument, to avoid the need for a random number
> generator in src/common.

Oops. Need an updated set of patches?
-- 
Michael



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Re: new set of psql patches for loading (saving) datafrom (to) text, binary files
Next
From: Andres Freund
Date:
Subject: Re: Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed