Re: ident changes between 8.3 and 8.4

From: Tommy Gildseth <tommy(dot)gildseth(at)usit(dot)uio(dot)no>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Rafael Martinez <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ident changes between 8.3 and 8.4
Date: 2009-11-05 15:01:57
Message-ID: 4AF2E8E5.1010600@usit.uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan skrev:
>
>>
>> To make 8.4 behave like the previous "ident sameuser" way, just put
>> "ident". No map is needed.
>>
>
>
> And it is documented in the release notes:
> <http://www.postgresql.org/docs/current/static/release-8-4.html>, which
> the OP should have read when upgrading.

Except this isn't backwards compatible, in the sense that leaving out
sameuser on version 8.3 will give a different behaviour. This means that
the script we are using to generate the pg_hba.conf file, needs to know
about the version of postgres it's generating the pg_hba.conf file for.

So, the problem isn't in the fact that the syntax has been changed, but
in the fact that you can't use sameuser as the mapname.

--
Tommy Gildseth
DBA, Gruppe for databasedrift
Universitetet i Oslo, USIT
m: +47 45 86 38 50
t: +47 22 85 29 39

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rafael Martinez 2009-11-05 15:08:58 Re: ident changes between 8.3 and 8.4
Previous Message Tom Lane 2009-11-05 14:56:21 Re: operator exclusion constraints