|
From: Alan H. <aho...@si...> - 2001-08-20 02:13:32
|
On Mon, Aug 20, 2001 at 09:56:12AM +0800, Federico Sevilla III wrote: > Hi everyone, > > I am not as much into Perl as I am into PHP4, but I was wondering, will it > be possible to configure SQL Ledger to possibly connect to PostgreSQL via > Unix sockets? Aside from a theoretical speed increase (however unfelt), > forcing the postmaster to not listen on TCP might be a good security move > for certain sites. On PHP4 this can be done by setting the protocol from > tcp to unix. I don't know if this can be done with SQL-Ledger and Perl. > Any gives? Edit <user>.config. Remove the host= and port= from the dbconnect string. I'm using an older version, but something similar should still apply. DBD::Pg will connect via UNIX domain socket by default. -- "I don't want to achieve immortality through my work. I want to achieve it through not dying." -- Woody Allen |