Tom Lane wrote:
> Gerardo Herzig <gher...@fmed.uba.ar> writes:
>> Hi all. Im triyng, with no success, to create a user, and set the
>> password with a md5 string.
> 
> The correct method for computing the md5'd password includes the
> username.  I think it's 'md5' || md5sum(password || username)
> but look at the code or docs.
> 
>                       regards, tom lane
> 
Perfect! I could not find that in the docs.
It works. Thanks!

Gerardo

-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to