delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/11/12:22:16

Message-Id: <200209111622.g8BGMFx09217@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Sent: 11 Sep 2002 16:21:48 GMT
X-Newsgroups: gmane.os.cygwin
Subject: Re: Postgres - more questions
From: news AT garydjones DOT mailshell DOT com
References: <02Sep6.101215-0700_pdt.292221-5504+21 AT lmg DOT ahnet DOT net> <20020906172515 DOT GI1964 AT tishler DOT net> <E17nZmd-00083T-00 AT quimby DOT gnus DOT org> <02Sep7.022547-0700_pdt.290634-25802+89 AT lmg DOT ahnet DOT net> <20020907194741 DOT GQ1964 AT tishler DOT net>
User-Agent: Xnews/4.11.09
X-No-Archive: yes
To: cygwin AT cygwin DOT com
X-Gate: Hamster/1.3.23.185 NewsToMail-Gate
Date: Wed, 11 Sep 2002 18:13:22 +0200

On 07 Sep 2002, Jason Tishler <jason AT tishler DOT net> wrote:

> On Sat, Sep 07, 2002 at 11:21:49AM +0200,
> news AT garydjones DOT mailshell DOT com wrote: 

>> $ pg_ctl stop  
>> pg_ctl: no database directory or environment variable
>> $PGDATA is specified
[..]
> Did you export PGDATA?

Agh! Sh8! I thought I had, but just checked and the "export" is 
missing, which I guess is kind of important. Sorry.

>> $ pg_ctl stop -D /cygdrive/k/pgsql/data
>> waiting for postmaster to shut 
>> down........................................................
>> .... .... failed pg_ctl: postmaster does not shut down
> 
> Works for me

And me, now. Because I wanted to know what was going on I 
removed the export of PGDATA, restarted bash, and tried again. 
No probelm, it still shut down fine. I really don't know what 
was causing this but for now it has "gone away". I haven't 
changed anything else in the meantime, afair, so I've really no 
idea what the difference is.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019