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