Thread: AW: postgreSQL NT4

AW: postgreSQL NT4

From
Ronald Kuczek
Date:
     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
     Rony

-----Ursprüngliche Nachricht-----
Von:    Fredrick Bartlett [SMTP:palmtreefrb@earthlink.net]
Gesendet am:    Thursday, August 17, 2000 4:52 AM
An:    Mohammed Abdel'al
Cc:    pgsql-ports@postgresql.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.

D:\postgreSQL\bin>bash
bash-2.04$ createDb -h localhost socaldata
bash: createDb: command not found
bash-2.04$

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@earthlink.net>
> To: <pgsql-ports@postgresql.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
> >
> >


RE: postgreSQL NT4

From
"Rik Bradt"
Date:
Hi,

> 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.

Greetz

> -----Original Message-----
> From: pgsql-ports-owner@hub.org [mailto:pgsql-ports-owner@hub.org]On
> Behalf Of Ronald Kuczek
> Sent: donderdag 17 augustus 2000 8:48
> To: 'Fredrick Bartlett'
> Cc: 'pgsql-ports@postgresql.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
>      Rony
>
> -----Ursprüngliche Nachricht-----
> Von:    Fredrick Bartlett [SMTP:palmtreefrb@earthlink.net]
> Gesendet am:    Thursday, August 17, 2000 4:52 AM
> An:    Mohammed Abdel'al
> Cc:    pgsql-ports@postgresql.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.
>
> D:\postgreSQL\bin>bash
> bash-2.04$ createDb -h localhost socaldata
> bash: createDb: command not found
> bash-2.04$
>
> 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@earthlink.net>
> > To: <pgsql-ports@postgresql.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
> > >
> > >
>
>