Patch applied. Thanks. I adjusted the code slightly and I tested !HAVE_UNIX_SOCKETS rather than Win32.
--------------------------------------------------------------------------- Andrew Dunstan wrote: > > The original of this seems to have gotten lost in the ether somewhere. > It might turn up some day ... > > andrew > > Tom Lane wrote: > > >Andrew Dunstan <[EMAIL PROTECTED]> writes: > > > > > >>The attached tiny patch will possibly help to avoid some confusion by > >>Windows users about the "local" line in pg_hba.conf (and thus help > >>reduce queries to us ;-) ). > >> > >> > > > >I was wondering if we could teach initdb to remove that line altogether > >in Windows installations. > > > > > > > > > > I think this does what Tom and Peter suggested. I don't have a Windows > box to test it on, though. > > cheers > > andrew > > > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html