initdb auth method option and "ident sameuser"

From: Bernd Helmle <bernd(at)oopsware(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: initdb auth method option and "ident sameuser"
Date: 2009-07-15 19:28:11
Message-ID: 43CA71269676B803709AB9A6@amenophis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I recently got a complaint from an OpenSuSE user, which had problems using
PostgreSQL 8.4 installed by a broken RPM from build service. The init
script used initdb --auth="ident sameuser" accidentally, to initialize the
cluster (this seems to be the practice in older versions before, too). This
caused the whole postgres startup to fail, since 8.4 refuses to accept such
a line anymore.

Beside the fact that this is primarily the packagers fault, I wonder wether
we should install an additional check in initdb.c against the requested
authmethod to check against such a usage. It seems too easy to break an
installation with a formerly common usage practice.

Bernd

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Wilson 2009-07-15 19:36:47 Re: changing enumlabel from a NameData to text
Previous Message Andrew Dunstan 2009-07-15 18:56:35 Re: changing enumlabel from a NameData to text