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