hi Sean! sean finney [2005-10-01 10:07 -0400]: > On Sat, Oct 01, 2005 at 03:52:16PM +0200, Martin Pitt wrote: > > > pg_test_hba --add --method ident dbname dbuser > > > pg_test_hba --add --ip w.x.y.z --method ident dbname dbuser > > > pg_test_hba --add --method md5 dbname dbuser > > > pg_test_hba --add --ip w.x.y.z --method md5 dbname dbuser > > > pg_test_hba --remove ... > > > > What is the purpose of --add/--remove? > > with --add, pg_test_hba would base its exit status on whether the > line needed to be added, and vice versa for --remove (so when a package > is removed, the admin could ismilarly be prompted). Hm, so that would merely invert the exit code? Why can't you just invert the exit code interpretation? > > My initial spec proposed that if --ip is not given, it defaults to > > lcoal Unix socket authentication. This should be consistent with > > pg_add_hba. What do you think? > > yeah, that makes sense. we in mysql-land unfortunately do not have such > a distinction :) mysql only communicates over TCP? I didn't know that... Well, the nice thing about a Unix socket is that it makes authentication very easy. :-) Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntulinux.org Debian Developer http://www.debian.org
Attachment:
signature.asc
Description: Digital signature