I'm sorry, the second line should be :
type 'pg_ctl start -o -i -D /usr/share/postgresql/data'
I forgot to put the 'start' option
Good luck
----- Original Message -----
From: "Andy Samuel" <anci@centrin.net.id>
To: <pgsql-cygwin@postgresql.org>
Sent: Saturday, April 27, 2002 1:16 PM
Subject: Re: [CYGWIN] accessing a db
> Assuming you have the latest postgresql and cygwin :
>
> type 'ipc-daemon &'
> type 'pg_ctl -o -i -D /usr/share/postgresql/data'
> type 'psql template1'
>
> Read the documentation at /usr/doc/Cygwin/
>
> Good luck
> ----- Original Message -----
> From: "João Carlos Fernandes Costa" <joao.costa@oni.pt>
> To: <pgsql-cygwin@postgresql.org>
> Sent: Saturday, April 27, 2002 12:40 AM
> Subject: [CYGWIN] accessing a db
>
>
> > Hi,
> >
> > I have installed postgresql and I have a db called template1.
> > I closed cygwin's window and when I re-opened it, I try to re-access the
> db
> > template1 unsuccessfully.
> > How can I do it? What is the command sequence for it?
> >
> > Thanks,
> > Joao
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> > http://www.postgresql.org/users-lounge/docs/faq.html
> >
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>