Are there any tools out there that can manipulate pg_hba.conf
programmatically ? In particular, I am looking for a program/script that
lets me do things like 'add access for user X to database Y with method
Z' and ask 'what access does user X have for database Y'
thanks,
David