This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Postgres - more questions


On 07 Sep 2002, Jason Tishler <jason@tishler.net> wrote:

> On Sat, Sep 07, 2002 at 11:21:49AM +0200,
> news@garydjones.mailshell.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]