Re: configuration using libdbi

Edward Rudd <[email protected]> Mon, 23 Apr 2007 21:32:52 -0400
Newsgroups gmane.comp.apache.mod-log-sql
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============0010644770==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enigCDD90AD54A9F7EAEFC405D5F"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigCDD90AD54A9F7EAEFC405D5F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

According to the libdbi documentation
http://libdbi-drivers.sourceforge.net/docs/dbd_pgsql/options.html

You specify the path to the unix socket as the host.

so

pgsql://user:pass@%2fvar%2flib%2fpgsql%2fpgsql.sock/database

Should work and specify a socket of
 /var/lib/pgsql/pgsql.sock

IF that doesn't work you can manually specify the settings using
LogSQLDBParam .. ie.

LogSQLDBParam hostname /var/lib/pgsql/pgsql.sock


James Cloos wrote:
> When using mod_log_sql with dbi and pgsql, what is the proper syntax fo=
r
> LogSQLLoginInfo to have it use the unix socket?
>=20
> Everything else is well documented, but I cannot find any docs on that,=

> and a perusal of the src didn't enlighten.
>=20
> Thanks,
>=20
> -JimC



--------------enigCDD90AD54A9F7EAEFC405D5F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGLV5IvwMxRUUct20RAiJVAJ4oYilcJ0ZbTzPIfcMnVp7nO+jNmQCcDJ0v
jpjbwg4oOp8UL9GtQOZKNfI=
=7TP9
-----END PGP SIGNATURE-----

--------------enigCDD90AD54A9F7EAEFC405D5F--

--===============0010644770==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/

To unsubscribe send an e-mail to 
mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org

--===============0010644770==--