[Dbconfig-common-devel] problems converting a package to dbconfig-common

Karsten Hilbert Karsten.Hilbert at gmx.net
Mon Jul 31 06:41:36 UTC 2006


On Sun, Jul 30, 2006 at 08:54:09PM -0400, sean finney wrote:

> i know with mysql there is no control over socket vs loopback when
> connecting to localhost, but i think with postgres you can, and it's
> probably a bug in the autodetection stuff.

To reliably detect it you will have to a) find out which
pg_hba/pg_ident file will be used and b) parse those files
exactly the same way PG itself does taking into account
database name, user name, network path type (tcp/ip vs
socket), and SSL status.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



More information about the Dbconfig-common-devel mailing list