Re: Problems with Cygwin postgresql-7.4.README

From: Jason Tishler <jason(at)tishler(dot)net>
To: Markus Seibold <Markus(dot)Seibold(at)gmx(dot)net>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Problems with Cygwin postgresql-7.4.README
Date: 2003-11-21 02:29:00
Message-ID: 20031121022900.GB1580@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-cygwin

Markus,

On Thu, Nov 20, 2003 at 07:26:26PM +0100, Markus Seibold wrote:
> first of all ... thanks to Jason for already offering PostgreSQL 7.4
> for Cygwin!!!

You are welcome.

> point 2. in Jason's readme:
> ==================
> - $password: Do I have to set the password?

No, it yours box -- administer it how you see fit.

> Is there a predefined password stored in the variable $password?

No.

> Can I set my own password by just typing it instead of using
> $password?

The "$password" moniker just means a password of your choice.

> - /fullname: why is "postgres" not in quotation marks?

Because it is not necessary under bash -- which happens to be the shell
that I use.

> - /homedir: why can't you just write "/home/postgres"? (this simple absolute
> path works with all other paths - i.e., /usr/bin/postmaster)

Because Windows is interpreting this command -- not Cygwin.

> point 4. in Jason's readme:
> ==================
> -- path /usr/bin/postmaster: in my cygwin directory (c:\cygwin) there is no
> /bin folder under the /usr folder and therefore I guess there can't be a
> postmaster file. Can it be that you mean /bin/postmaster instead of
> /usr/bin/postmaster (I

No, /usr/bin is a mount point:

$ mount
*> C:\cygwin\bin on /usr/bin type system (binmode) <*
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)

BTW, /usr/bin/postmaster really exists:

$ ls -l /usr/bin/postmaster
lrwxrwxrwx 1 Administ None 23 Oct 17 07:56 /usr/bin/postmaster -> postgres.exe

> point 9. in Jason's readme
> ==================
> This is where I spent most of the day today trying to change from my
> administrator user to the postgres user - I just can't get this step
> done.
>
> I used: su postgres. The bash-shell promts for the password everytime
> but nothing works - neither blank, nor 'password' nor $password nor
> ... I also invoked point 2. in Jason's readme with a password keyed
> in manually: net user postgres postgres /add .... But I couldn't
> switch to the postgres user even with the password 'postgres'.

Just login as postgres at the Windows logon screen.

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

Browse pgsql-announce by date

  From Date Subject
Next Message Jason Tishler 2003-11-21 02:32:17 Re: Updated Cygwin Package: postgresql-7.4-1
Previous Message Marc G. Fournier 2003-11-21 00:28:07 Re: PostgreSQL v7.4 Released

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-11-21 02:32:17 Re: Updated Cygwin Package: postgresql-7.4-1
Previous Message Jason Tishler 2003-11-21 02:17:14 Re: Postgres 7.4 source building problem