Re: postgres on windows with minimal cygwin

From: Fred Yankowski <fred(at)ontosys(dot)com>
To: "Todd F(dot) Peterson" <tfp(at)ncgr(dot)org>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: postgres on windows with minimal cygwin
Date: 2003-01-01 17:02:50
Message-ID: 20030101170250.GA18041@ontosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

On Tue, Dec 31, 2002 at 12:42:34PM -0700, Todd F. Peterson wrote:
> template1=# create database test;
> WARNING: database directory '/cygdrive/c/cygmin/bin/pg_data/base/16983'
> could not be removed
> ERROR: CREATE DATABASE: could not initialize database directory; delete
> failed as well

That exact output would result if execution of "cp -r" fails in a
system() call in createdb(). Are you sure that the right 'cp' command
is in your $PATH when you invoke the psql or createdb commands?

You might try running createdb under strace.

--
Fred Yankowski fred(at)ontosys(dot)com tel: +1.630.879.1312
OntoSys, Inc PGP keyID: 7B449345 fax: +1.630.879.1370
www.ontosys.com 38W242 Deerpath Rd, Batavia, IL 60510-9461, USA

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Norberto Valverde Llanos 2003-01-01 17:48:46 initdb failed
Previous Message Todd F. Peterson 2002-12-31 19:42:34 postgres on windows with minimal cygwin