Re: accessing a db

From: Joo Carlos Fernandes Costa <joao(dot)costa(at)oni(dot)pt>
To: 'Andy Samuel' <andysamuel(at)myrealbox(dot)com>
Cc: "'pgsql-cygwin(at)postgresql(dot)org'" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: accessing a db
Date: 2002-04-29 09:09:15
Message-ID: 5AFAC06B34602947BDB5C0076C179CBC1B6608@excalr01.oni.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi Andy,

I try your command sequence, but when I typed the second line I got the
following:

pg_ctl: Another postmaster may be running. Trying to start
postmaster anyway.
pg_ctl: cannot start postmaster
Examine the log output.
[3]+ Done ipc-daemon

Any ideas?

Thanks,
Joao

-----Original Message-----
From: Andy Samuel [mailto:andysamuel(at)myrealbox(dot)com]
Sent: sbado, 27 de Abril de 2002 7:21
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [CYGWIN] accessing a db

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(at)centrin(dot)net(dot)id>
To: <pgsql-cygwin(at)postgresql(dot)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: "Joo Carlos Fernandes Costa" <joao(dot)costa(at)oni(dot)pt>
> To: <pgsql-cygwin(at)postgresql(dot)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
>

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2002-04-29 13:00:27 Re: hello
Previous Message Lloyd Leung 2002-04-28 00:53:50 hello