Re: Fwd: Restarting with pg_ctl, users, and passwords.

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Matthew Pettis <matthew(dot)pettis(at)gmail(dot)com>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: Fwd: Restarting with pg_ctl, users, and passwords.
Date: 2008-08-20 20:16:21
Message-ID: 20080820201621.GA13687@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

On Wed, Aug 20, 2008 at 01:58:37PM -0500, Matthew Pettis wrote:
> Curious: Any ideas why I can leave the host off my connection string
> in WinXP, but not Linux? It it an idiosyncracy of my app, or of
> PostgreSQL?

No host specified on a UNIX system means "unix domain socket" which is
essentially a way of doing a socket connection on the local machine.
You can acheive the same effect by host=/path/to/socket.

Leaving off the host in windows I'm not sure what it does.

Have a ncie day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2008-08-20 20:32:22 Re: Fwd: Restarting with pg_ctl, users, and passwords.
Previous Message Greg Smith 2008-08-20 20:03:18 Re: WAL archiving to network drive

Browse pgsql-novice by date

  From Date Subject
Next Message Chris Lidgate (Sun Edgemail) 2008-08-21 06:17:04 Postgres backups - when the backup operator isn't the postgres user ?
Previous Message Matthew Pettis 2008-08-20 19:47:44 Re: How do I determine my data dir for a created database for pg_ctl?