Re: loading a psql input file on win xp

From: Reid Thompson <Reid(dot)Thompson(at)ateb(dot)com>
To: rod(at)iol(dot)ie
Cc: akshay bhat <akshayubhat(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: loading a psql input file on win xp
Date: 2008-03-09 22:33:56
Message-ID: 1205102036.13110.2.camel@endpoint
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Sun, 2008-03-09 at 19:41 +0000, Raymond O'Donnell wrote:
> On 09/03/2008 15:34, Reid Thompson wrote:
>
> > you'll also probably have to add the parameter -h 127.0.0.1
>
> psql defaults to connecting to the local machine unless you tell it
> otherwise, so this is redundant; though it certainly won't do any harm
> either.
>
Not redundent. Unless something has changed, psql's default connection
method is via unix socket 5432 and this socket does not exist on
windows. The -h is required to have psql connect to the network socket
which is available on windows.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message postgre 2008-03-09 23:39:15 large object import
Previous Message Matt Magoffin 2008-03-09 20:59:02 Nested xpath() calls "lose" namespace support