Re: ident changes between 8.3 and 8.4 - Mailing list pgsql-hackers

From Tommy Gildseth
Subject Re: ident changes between 8.3 and 8.4
Date
Msg-id 4AF2E8E5.1010600@usit.uio.no
Whole thread Raw
In response to Re: ident changes between 8.3 and 8.4  (Andrew Dunstan <andrew@dunslane.net>)
List 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


pgsql-hackers by date:

Previous
From: Rafael Martinez
Date:
Subject: Re: ident changes between 8.3 and 8.4
Next
From: Tom Lane
Date:
Subject: Re: drop tablespace error: invalid argument