> > However, it is nowhere documented which other mechanisms can you > > choose, especially what on the earth should you write for using pg_hba.co= > > > nf?? > > It's summarized in the pg_hba.conf help [1] and covered in great > detail in the section "authentication methods" [2] in the docs.
Sorry that I was not quite clear enough. My problem was not that I didn't know what can be written into pg_hba.conf (I am using postgres in the last 8 years a lot, I even have a 2 line patch in the backend :)). My problem was that from the documentation of initdb it is not clear that you can write the same keywords for --auth that you can use in pg_hba.conf, and its just about that how initdb creates pg_hba for you. I actually thought that it is some higher level switch with which you can control the authentication, like a) don't authenticate at all b) use pg_hba.conf c) some new method, ... I actually have quite a few programs that create postgresql databases not in the root filesystem, but in the name of the user that started the program. That program actually calls initdb and creates pg_hba.conf and all the outher config files. Now when I made the transition to 8.0, I started to get that warning, and it wasn't trivial how to tell it that "Hey, don't bother with the authentication, I am still using the pg_hba.conf method.." It turs out, that there is no other method, just you need to tell how you'd like it to be created. Now this is something that I think deserves 2 words in the man page ;) Best regards, Baldvin Kovacs > > Have a nice day, > > Martin > > [1] http://www.postgresql.org/docs/8.0/interactive/client-authentication.ht= > ml > [2] http://www.postgresql.org/docs/8.0/interactive/auth-methods.html > --=20 > Martin Pitt http://www.piware.de > Ubuntu Developer http://www.ubuntu.com > Debian Developer http://www.debian.org > > --ffoCPvUAPMgSXi6H > Content-Type: application/pgp-signature; name="signature.asc" > Content-Description: Digital signature > Content-Disposition: inline > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > > iD8DBQFDYsg+DecnbV4Fd/IRAvb0AJ4kmXZMB4GUtAQoFerUH1bMprYUhACg+5Ns > u8EeIld+ZPg5FQuA9LaI/oM= > =DSOY > -----END PGP SIGNATURE----- > > --ffoCPvUAPMgSXi6H-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]