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: (view raw, whole thread or download thread mbox)
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
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-2017 The PostgreSQL Global Development Group