Skip site navigation (1) Skip section navigation (2)

Windows default to localhost is in the wrong place

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Windows default to localhost is in the wrong place
Date: 2004-12-28 19:27:46
Message-ID: 2220.1104262066@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Isn't this fix in the wrong place?

2004-03-23 22:10  momjian

	* src/bin/psql/startup.c: >>Also, what is the default connection
	mode of psql? It should probably be
	>>equivalent to "-h localhost", shouldn't it?
	>>
	>>
	>
	>Now that is something I had not thought of.  Seems we can assume a
	Win32
	>psql can never use unix domain sockets, so defaulting that to
	localhost
	>is a good solution too.
	
	Andrew Dunstan


ISTM that libpq itself ought to default to localhost, rather than
failing, on machines that don't have Unix sockets.

			regards, tom lane

Responses

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2004-12-28 19:53:39
Subject: Re: Windows default to localhost is in the wrong place
Previous:From: Bruce MomjianDate: 2004-12-28 18:22:06
Subject: Re: Bgwriter behavior

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group