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

Re: Updated Cygwin Package: postgresql-7.4.2-1

From: Jason Tishler <jason(at)tishler(dot)net>
To: "David P(dot) Lurie" <dbase4(at)hotmail(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1
Date: 2004-06-16 17:24:45
Message-ID: 20040616172445.GB6632@tishler.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
David,

On Wed, Jun 16, 2004 at 11:29:03AM -0400, David P. Lurie wrote:
> "Jason Tishler" <jason(at)tishler(dot)net> wrote in message
> > The two methods should be equivalent with the later just being
> > easier to document.
> 
> I had to tweak the README instructions, primarily adding quotes when
> needed.  Some of my changes may have been redundant:
> 
> Original:
> 
> net user postgres $password /add /fullname:postgres /comment:'PostgreSQL
> user account' /homedir:"$(cygpath -w /home/postgres)"

The above will only work under a Unix shell (e.g., bash) -- not under
cmd.  I guess that I should update the README to be clear...

> New:
> 
> mkdir -p /home/postgres
> 
> chown postgres /home/postgres

The above should not be necessary, albeit convenient if one logs in as
postgres frequently.

> net user postgres $password /add /fullname:"postgres "
> /homedir:"C:\cygwin\home\postgres"

See above.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

In response to

Responses

pgsql-cygwin by date

Next:From: Jeff WeeksDate: 2004-06-16 20:34:14
Subject: Installed Postgresql "Windows proof of concept" ... now what?
Previous:From: David P. LurieDate: 2004-06-16 15:29:03
Subject: Re: Updated Cygwin Package: postgresql-7.4.2-1

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