postgreSQL 7.4.1-3 createdb bug

RK rk_news@netway.at
Mon Jan 26 14:01:00 GMT 2004


Hi folks,
using createdb within postgreSQL 7.4.1-3 (within Win2k) behaves as follows:
$ createdb -U postgres rk1
createdb: database creation failed: ERROR: could not initialize 
database directory
DETAIL: Failing system command was: cp -r '/var/postgresql/data/base/1' 
'/var/postgresql/data/base/17172'
HINT: Look in the postmaster's stderr log for more information.
looking at the log file you get:
$ tail /var/log/postmaster.log
ERROR: could not initialize database directory
DETAIL: Failing system command was: cp -r '/var/postgresql/data/base/1' 
'/var/postgresql/data/base/17171'
HINT: Look in the postmaster's stderr log for more information.
cp: invalid switch -r
cp: invalid switch /var/postgresql/data/base/1
cp: invalid switch /var/postgresql/data/base/17172
Usage: cp [/p] [/a] file1 [ file2 ...] target
ERROR: could not initialize database directory
DETAIL: Failing system command was: cp -r '/var/postgresql/data/base/1' 
'/var/postgresql/data/base/17172'
HINT: Look in the postmaster's stderr log for more information.
createdb tries to use Windows (cmd's) cp command and not bash's (within 
Cygwin).
So it is unable to cope with the used option and the filename syntax.
I would be thankful for getting rid of this bug soon.
Yours in computing
Rainer Kirsch
rk_news@netway.at
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20040126/aa35e9cb/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /