Skip site navigation (1) Skip section navigation (2)

Re: initdb check_need_password fix

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: initdb check_need_password fix
Date: 2012-06-28 23:24:01
Message-ID: CA+TgmoZAdAxR4b+9rkazPmxTPkK=1szGhVkodEKG9ancZYS9Ww@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Thu, Jun 28, 2012 at 3:48 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> If you run initdb -A md5, you get an error
>
> initdb: must specify a password for the superuser to enable md5 authentication
>
> In 9.2, when you run something like initdb --auth-local=peer
> --auth-host=md5, you still get that error, which I think is a mistake.
> The error should only be shown if both authentication choices are
> password-like.  Hence I propose the attached patch.

Looks right to me.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2012-06-28 23:48:55
Subject: Re: We probably need autovacuum_max_wraparound_workers
Previous:From: Jan UrbańskiDate: 2012-06-28 22:36:47
Subject: Re: plpython issue with Win64 (PG 9.2)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group