Re: postgres on windows with minimal cygwin - Mailing list pgsql-cygwin

From Fred Yankowski
Subject Re: postgres on windows with minimal cygwin
Date
Msg-id 20030101170250.GA18041@ontosoft.com
Whole thread Raw
In response to postgres on windows with minimal cygwin  ("Todd F. Peterson" <tfp@ncgr.org>)
List 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@ontosys.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

pgsql-cygwin by date:

Previous
From: "Todd F. Peterson"
Date:
Subject: postgres on windows with minimal cygwin
Next
From: "Norberto Valverde Llanos"
Date:
Subject: Re: Stalled post to pgsql-cygwin