> You have to add your PostgreSQL bin directory to your path...
Can't you simply precede the command createdb with a ./ or should it be .\
Changing your path is a rather 'heavy' solution that requires root access,
espacially under unix.
BTW: where can I find postgreSQL for win32? I would like to give it a go.
> -----Original Message-----
> From: pgsql-ports-owner(at)hub(dot)org [mailto:pgsql-ports-owner(at)hub(dot)org]On
> Behalf Of Ronald Kuczek
> Sent: donderdag 17 augustus 2000 8:48
> To: 'Fredrick Bartlett'
> Cc: 'pgsql-ports(at)postgresql(dot)org'
> Subject: AW: [PORTS] postgreSQL NT4
> Hi !
> Name is createdb, case sensitive. You have to add your
> PostgreSQL bin directory to your
> path... It is a shell script, if command createdb
> doesn't work, try sh createdb.
> Best regards
> -----Ursprüngliche Nachricht-----
> Von: Fredrick Bartlett [SMTP:palmtreefrb(at)earthlink(dot)net]
> Gesendet am: Thursday, August 17, 2000 4:52 AM
> An: Mohammed Abdel'al
> Cc: pgsql-ports(at)postgresql(dot)org
> Betreff: Re: [PORTS] postgreSQL NT4
> It's running. I have been able to create tables run SQL etc.
> But still not
> been able to create databases using createDb in bash.
> Note: I also installed it on a win 2000, it's running as
> well. But I am
> haveing similar problems running any pgsql commands at all under bash.
> bash-2.04$ createDb -h localhost socaldata
> bash: createDb: command not found
> Any ideas would be helpful.
> Mohammed Abdel'al wrote:
> > How u did?
> > I am dieing to get it running
> > ----- Original Message -----
> > From: "Fredrick Bartlett" <palmtreefrb(at)earthlink(dot)net>
> > To: <pgsql-ports(at)postgresql(dot)org>
> > Sent: Wednesday, August 16, 2000 8:32 PM
> > Subject: [PORTS] postgreSQL NT4
> > > Finally got it running on NT4, need a little help with creating
> > > databases...
> > >
> > > Ok, I get the below error trying to run createDb. It creates the
> > > physical directory, but does not "Catalog" it.
> > >
> > > bash-2.04$ createdb -h localhost soCalMOADB
> > > ERROR: CREATE DATABASE: Could not initialize database
> directory. Delete
> > > failed
> > > as well
> > > createdb: database creation failed
> > > bash-2.04$
> > >
> > > Thanks,
> > > Fredrick
> > >
> > >
In response to
pgsql-ports by date
|Next:||From: Fredrick Bartlett||Date: 2000-08-17 15:30:32|
|Subject: Re: postgreSQL NT4|
|Previous:||From: Horák Daniel||Date: 2000-08-17 12:00:44|
|Subject: RE: [HACKERS] Linux/Alpha Regression Test Patch|