reassign 388419 postgresql-common 59 thanks Karsten Hilbert [2006-09-20 12:36 +0200]: > I suggest pg_ctlcluster *try* doing a passwordless access to the database > before claiming it has to disable the checks. In the above scenario it would > indeed still work.
I would love to do that attempt; this would safe much headache with parsing configuration files, etc. However, you cannot do this with the postgresql-client command line tools, they do not have an option for 'do not ask for a password'. An alternative would be to add a dependency to libpg-perl or libdbd-pg-perl and connect directly through libpq instead of the command line tools. But apart from the pg binding itself this would pull in perl as a dependency, which I have tried to avoid so far (p-common just uses the essential perl-base). I'll give this some more thought, but I appreciate any good idea about this. Thanks, Martin -- Martin Pitt http://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org In a world without walls and fences, who needs Windows and Gates?
signature.asc
Description: Digital signature